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
EditSuccess.php | |
<?php | |
include_partial('form', array('ordinativi_order' => $order, 'form'=>$form, 'configuration'=>$configuration, 'helper'=>$helper )) | |
var_dump($helper); | |
/* | |
restituisce | |
object(orderGeneratorHelper)#221 (0) { | |
} | |
*/ | |
?> |
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 | |
/** | |
* orderitem actions. | |
* | |
* @package ordinativi | |
* @subpackage orderitem | |
* @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 OrdinativiOrderItemFoodForm extends OrdinativiOrderItemForm | |
{ | |
public function configure() | |
{ | |
$this->removeFields(); | |
//$this->widgetSchema['item'] = new sfWidgetFormInputHidden(); |
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 |
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/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
<?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
<?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
>> 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 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> |
NewerOlder