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
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 echo form_tag_for($form, '@menu_item_day') ?> | |
<table id="job_form"> | |
<tfoot> | |
<tr> | |
<td colspan="2"> | |
<input type="submit" value="Applica" /> | |
</td> | |
</tr> | |
</tfoot> | |
<tbody> |
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
>> app Current routes for application "backend" | |
Name Method Pattern | |
sf_guard_permission_filter POST /guard/permissions/filter.:sf_format | |
sf_guard_permission_batch POST /guard/permissions/batch.:sf_format | |
sf_guard_permission GET /guard/permissions.:sf_format | |
sf_guard_permission_new GET /guard/permissions/new.:sf_format | |
sf_guard_permission_create POST /guard/permissions.:sf_format | |
sf_guard_permission_edit GET /guard/permissions/:id/edit.:sf_format | |
sf_guard_permission_update PUT /guard/permissions/:id.:sf_format | |
sf_guard_permission_delete DELETE /guard/permissions/:id.:sf_format |
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 | |
// nella form class | |
class OrdinativiMenuFoodForm extends BaseOrdinativiMenuItemDayForm | |
{ | |
public function configure() | |
{ | |
$this->removeFields(); | |
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 | |
// ... | |
protected function processForm(sfWebRequest $request, sfForm $form) | |
{ | |
$form->bind( | |
$request->getParameter($form->getName()), | |
$request->getFiles($form->getName()) |
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
# You can find more information about this file on the symfony website: | |
# http://www.symfony-project.org/reference/1_4/en/04-Settings | |
prod: | |
.settings: | |
no_script_name: false | |
logging_enabled: true | |
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?> | |
level: debug | |
active: on |
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
>> app Current routes for application "frontend" | |
Name Method Pattern | |
sf_guard_signout ANY /logout | |
sf_guard_signin ANY /login | |
homepage ANY / | |
ordinativi_order GET /order.:sf_format | |
ordinativi_order_new GET /order/new.:sf_format | |
ordinativi_order_create POST /order.:sf_format | |
ordinativi_order_edit GET /order/:id/edit.:sf_format | |
ordinativi_order_update PUT /order/:id.:sf_format |
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
# You can find more information about this file on the symfony website: | |
# http://www.symfony-project.org/reference/1_4/en/10-Routing | |
ordinativi_order: | |
class: sfDoctrineRouteCollection | |
options: | |
model: OrdinativiOrder | |
module: order |