public function __construct($spec, $options = null) { parent::__construct($spec, $options); $_printer = new ZendT_Printer(); $printers = $_printer->getPrintersByFilial(); $this->setServerPrinters($printers); }
/** * * @param type $spec * @param type $options */ public function __construct($spec, $options = null) { parent::__construct($spec, $options); $decorators = array(); $decorators[] = new ZendT_Form_Decorator(); $this->setDecorators($decorators); }
/** * * @param type $spec * @param type $options */ public function __construct($spec, $options = null) { parent::__construct($spec, $options); $this->setAttrib('urlDownload', ZendT_Url::getBaseUrl() . '/file/download'); $this->setAttrib('urlUpload', ZendT_Url::getBaseUrl() . '/file'); $this->setAttrib('urlDelete', ZendT_Url::getBaseUrl() . '/file/delete'); }
public function __construct($spec, $options = null) { $this->class = "dateNL"; parent::__construct($spec, $options); $decoratorDefault = new ZendT_Form_Decorator_Default(); $this->addDecorator($decoratorDefault); }
public function __construct($spec, $options = null) { parent::__construct($spec, $options); $this->setColHeaders(true); $this->setRowHeaders(true); $this->setContextMenu(true); $this->setManualColumnResize(true); }
public function __construct($spec, $options = null, $urlLocal = false) { $this->_modal = new ZendT_Form_Element_Seeker_Modal(); $this->_url = new ZendT_Form_Element_Seeker_Url($urlLocal); parent::__construct($spec, $options); $decorators = array(new ZendT_Form_Decorator_Default()); $this->setDecorators($decorators); $button = new ZendT_Form_Element_Button('btSearch'); $button->setIcon('ui-icon-search'); $this->setAttrib('button', $button); }
public function __construct($spec, $options = null) { $date = new ZendT_Form_Element_Text($spec . '_date'); $decorators = array(new ZendT_Form_Decorator()); $date->setDecorators($decorators); $time = new ZendT_Form_Element_Text($spec . '_time'); $decorators = array(new ZendT_Form_Decorator()); $time->setDecorators($decorators); $this->setAttrib('propDate', $date); $this->setAttrib('propTime', $time); parent::__construct($spec, $options); }
public function __construct($spec, $options = null) { parent::__construct($spec, $options); $decoratorSubmitAjax = new ZendT_Form_Decorator_SubmitAjax(); $this->addDecorator($decoratorSubmitAjax); }
public function __construct($spec, $options = null) { parent::__construct($spec, $options); $this->enableUploadList(true); }
public function __construct($spec, $options = null) { parent::__construct($spec, $options); $this->addStyle('width', '100px'); }