Exemplo n.º 1
0
 /**
  * Constructor for icms_ipf_category_Object
  * @return icms_ipf_category_Object
  */
 public function __construct()
 {
     $this->initVar('categoryid', XOBJ_DTYPE_INT, '', true);
     $this->initVar('parentid', XOBJ_DTYPE_INT, '', false, null, '', false, _CO_ICMS_CATEGORY_PARENTID, _CO_ICMS_CATEGORY_PARENTID_DSC);
     $this->initVar('name', XOBJ_DTYPE_TXTBOX, '', false, null, '', false, _CO_ICMS_CATEGORY_NAME, _CO_ICMS_CATEGORY_NAME_DSC);
     $this->initVar('description', XOBJ_DTYPE_TXTAREA, '', false, null, '', false, _CO_ICMS_CATEGORY_DESCRIPTION, _CO_ICMS_CATEGORY_DESCRIPTION_DSC);
     $this->initVar('image', XOBJ_DTYPE_TXTBOX, '', false, null, '', false, _CO_ICMS_CATEGORY_IMAGE, _CO_ICMS_CATEGORY_IMAGE_DSC);
     $this->initCommonVar('doxcode');
     $this->setControl('image', array('name' => 'image'));
     $this->setControl('parentid', array('name' => 'parentcategory'));
     $this->setControl('description', array('name' => 'textarea', 'itemHandler' => false, 'method' => false, 'module' => false, 'form_editor' => 'default'));
     // call parent constructor to get SEO fields initiated
     parent::__construct();
 }
 public function __construct(&$handler)
 {
     parent::__construct($handler);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_seo_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }