This file contains hidden or 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 | |
class BaseForm extends sfFormSymfony | |
{ | |
static protected $user = null; | |
static public function getUser() | |
{ | |
return self::$user; | |
} |
This file contains hidden or 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
*/ | |
class OrdinativiHealthStateForm extends BaseOrdinativiHealthStateForm | |
{ | |
public function configure() | |
{ | |
$this->useFields(array('name')); | |
$this->widgetSchema->setLabels(array( | |
'name' => 'Nome', | |
)); |
This file contains hidden or 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 | |
class BaseForm extends sfFormSymfony | |
{ | |
static protected $user = null; | |
static public function getUser() | |
{ | |
return self::$user; | |
} |
This file contains hidden or 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 | |
class BaseForm extends sfFormSymfony | |
{ | |
static protected $user = null; | |
static public function getUser() | |
{ | |
return self::$user; | |
} |
This file contains hidden or 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 | |
/** | |
* healthstate actions. | |
* | |
* @package ordinativi | |
* @subpackage healthstate | |
* @author KEY5 | |
* @version SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $ |
This file contains hidden or 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
OrdinativiMenuItem: | |
actAs: { Timestampable: ~ } | |
columns: | |
menu_id: { type: integer, notnull: true, default: 0 } | |
name: { type: string(255), notnull: true } | |
type: { type: string(3) } | |
state: { type: integer, notnull: true, default: 0 } | |
enabled: { type: boolean, notnull: true, default: 0 } | |
relations: | |
OrdinativiHealthState: { type: many, foreignType: one, class: OrdinativiHealthState, local: state, foreign: id, onDelete: CASCADE, foreignAlias: OrdinativiHealthStates } |
This file contains hidden or 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 | |
$foods = Doctrine_Query::create() | |
->from('OrdinativiMenuItemDay a') | |
->leftJoin('a.MenuItemDays m') | |
->where('a.menu_id = ? ', $menu_id ); | |
var_dump($foods->fetchArray()); |
OlderNewer