This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\Entity | |
class Brand | |
{ | |
/** | |
* @var string | |
\*/ | |
protected $name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * | |
FROM SOME_TABLE_ONE STO | |
WHERE EXISTS ( | |
SELECT * | |
FROM SOME_TABLE_TWO STT | |
WHERE STO.STT_ID = STT.ID | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
return array( | |
'adapters' => array( | |
'db' => array( | |
'connection1' => array( | |
'driver' => 'Oci8', | |
'connection' => 'orcl', | |
'username' => 'username', | |
'password' => 'password', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Itterate over the collection and grap the elements | |
foreach($form->get('collectionName')->getIterator() as $fieldset) | |
{ | |
echo $this->formRow($fieldset->get('elementName')); | |
echo $this->formRow($fieldset->get('elementAnotherElementName')); |