Пример #1
0
 public function __construct($spec, $options = null)
 {
     parent::__construct($spec, $options);
     $_printer = new ZendT_Printer();
     $printers = $_printer->getPrintersByFilial();
     $this->setServerPrinters($printers);
 }
Пример #2
0
 /**
  *
  * @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);
 }
Пример #3
0
 /**
  *
  * @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');
 }
Пример #4
0
 public function __construct($spec, $options = null)
 {
     $this->class = "dateNL";
     parent::__construct($spec, $options);
     $decoratorDefault = new ZendT_Form_Decorator_Default();
     $this->addDecorator($decoratorDefault);
 }
Пример #5
0
 public function __construct($spec, $options = null)
 {
     parent::__construct($spec, $options);
     $this->setColHeaders(true);
     $this->setRowHeaders(true);
     $this->setContextMenu(true);
     $this->setManualColumnResize(true);
 }
Пример #6
0
 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);
 }
Пример #7
0
 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);
 }
Пример #8
0
 public function __construct($spec, $options = null)
 {
     parent::__construct($spec, $options);
     $decoratorSubmitAjax = new ZendT_Form_Decorator_SubmitAjax();
     $this->addDecorator($decoratorSubmitAjax);
 }
Пример #9
0
 public function __construct($spec, $options = null)
 {
     parent::__construct($spec, $options);
     $this->enableUploadList(true);
 }
Пример #10
0
 public function __construct($spec, $options = null)
 {
     parent::__construct($spec, $options);
     $this->addStyle('width', '100px');
 }