public function __construct($name = null) { if (!isset($this->fields)) { $this->fields = new Kwf_Collection_FormFields(); } parent::__construct($name); }
public function __construct($name = null) { parent::__construct($name); $this->setBaseCls('x2-plain'); $this->setAutoHeight(true); $this->setBodyStyle('padding:10px'); }
public function __construct($name = null) { $this->fields = new Kwf_Collection_FormFields(null, 'Kwf_Form_Container_Column'); parent::__construct($name); $this->setLayout('column'); $this->setBorder(false); $this->setBaseCls('x2-plain'); }
public function __construct($title = null) { parent::__construct(); $this->setTitle($title); $this->setAutoHeight(true); $this->setBorder(true); $this->setXtype('fieldset'); $this->setBaseCls(null); }
public function __construct($name = null) { $this->fields = new Kwf_Collection_FormFields(null, 'Kwf_Form_Container_Tab'); parent::__construct($name); $this->setDeferredRender(false); //verursacht combobox-view-breite-bug $this->setBaseCls('x2-plain'); $this->setXtype('tabpanel'); $this->setLayout(null); }
public function __construct($name = null, $fieldLabel = null) { $this->fields = new Kwf_Collection_FormFields(null, 'Kwf_Form_Container_Card'); $this->_combobox = new Kwf_Form_Field_Select($name); $this->_combobox->setWidth(150)->setListWidth(150); parent::__construct($name); $this->setFieldLabel($fieldLabel); $this->setBaseCls('x2-plain'); $this->setXtype('kwf.cards'); $this->setLayout('form'); }
public function __construct($imageLabel) { parent::__construct(); $dpr2Check = Kwf_Config::getValue('kwc.requireDpr2'); $this->setXtype('kwc.image.imageuploadfield'); $this->setBaseCls('kwc-abstract-image-image-upload-big-preview'); // Fileupload $this->_image = new Kwc_Abstract_Image_ImageFile('Image', $imageLabel); $this->_image->setPreviewWidth(390)->setPreviewHeight(184)->setCls('kwc-abstract-image-image-upload-file')->setWidth(390)->setHeight(184); $this->fields->add($this->_image); $this->_dimensionField = new Kwc_Abstract_Image_DimensionField('dimension', trlKwf('Dimension')); $this->_dimensionField->setDpr2Check($dpr2Check); $this->_dimensionField->setAllowBlank(false)->setLabelStyle('display:none')->setCtCls('kwc-abstract-image-dimension-container'); $this->fields->add($this->_dimensionField); }
public function __construct($imageLabel, $imageUploadRelation, $dimensionColumn) { parent::__construct(); $this->setPreviewUrl('/kwf/media/upload/preview-with-crop'); $dpr2Check = Kwf_Config::getValue('kwc.requireDpr2'); $this->setXtype('kwf.form.field.image.uploadfield'); $this->setBaseCls('kwf-form-field-image-upload-big-preview'); // Fileupload $cls = $this->_imageFileClass; $this->_imageField = new $cls($imageUploadRelation, $imageLabel); $this->_imageField->setPreviewWidth(390)->setPreviewHeight(184)->setCls('kwf-form-field-image-upload-file')->setWidth(390)->setHeight(184); $this->fields->add($this->_imageField); $cls = $this->_dimensionFieldClass; $this->_dimensionField = new $cls($dimensionColumn, trlKwf('Dimension')); $this->_dimensionField->setDpr2Check($dpr2Check); $this->_dimensionField->setAllowBlank(false)->setLabelStyle('display:none')->setCtCls('kwf-form-field-image-dimension-container'); $this->fields->add($this->_dimensionField); }
public function __construct($field_name = null, $field_label = null) { parent::__construct($field_name, $field_label); $this->setXtype('panel'); $this->setBaseCls('x2-plain'); }
public function __construct($name = null) { parent::__construct($name); $this->setBaseCls('x2-plain'); $this->setStyle('margin: 0px 10px;'); }
public function __construct($name = null) { parent::__construct($name); $this->setBaseCls('x2-plain'); $this->setAutoHeight(true); }