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
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
7638 list 18 0 292m 164m 1300 R 0 32.7 0:28.06 /usr/bin/python /usr/lib/mailman/cron/checkdbs | |
13306 list 16 0 279m 111m 1208 D 0 22.1 71:40.32 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s | |
13308 list 16 0 89788 45m 1184 D 0 9.0 16:01.98 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s | |
13305 list 16 0 50572 30m 1096 D 0 6.0 23:15.40 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s | |
13309 list 16 0 54388 7692 1060 D 0 1.5 22:43.31 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s | |
2463 mysql 16 0 145m 7032 1348 S 0 1.4 0:43.96 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld. | |
13091 list 22 5 7604 4996 2132 D 0 1.0 0:00.11 /us |
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 | |
$this->widgetSchema['food'] = new sfWidgetFormChoice(array( | |
'choices' => array('PHP', 'symfony', 'Doctrine', 'Propel', 'model'), | |
'expanded' => false, | |
'multiple' => true, | |
'label'=> 'Pietanze presenti' | |
), array('class'=>'multiselect')); | |
$this->setDefault('food',array('Doctrine','PHP')); |
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()); |
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 | |
/** | |
* 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
<?php | |
class BaseForm extends sfFormSymfony | |
{ | |
static protected $user = null; | |
static public function getUser() | |
{ | |
return self::$user; | |
} |