Exemplo n.º 1
0
 /**
  * Constructor
  * @param	object    $object   reference to targetobject (@link icms_ipf_Object)
  * @param	string    $key      the form name
  */
 public function __construct($object, $key)
 {
     $this->_object = $object;
     $this->_key = $key;
     parent::__construct($object->vars[$key]['form_caption'], $key, isset($object->vars[$key]['form_maxfilesize']) ? $object->vars[$key]['form_maxfilesize'] : 0);
     $this->setExtra(" size=30");
 }
Exemplo n.º 2
0
 public function __construct($caption, $name, $maxfilesize = '4096000')
 {
     parent::__construct($caption, $name, $maxfilesize);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_config_item_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }