/** * Constructor */ function XoopsFormTextDateSelect($caption, $name, $size = 15, $value = 0) { //$value = !is_numeric($value) ? time() : (int) ($value); // ALTERED BY FREEFORM SOLUTIONS SO THAT THE LITERAL VALUE PASSED IN IS SENT TO THE PARENT CLASS parent::__construct($caption, $name, $size, $value); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Date', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Constructor */ function XoopsFormTextDateSelect($caption, $name, $size = 15, $value = 0) { $value = !is_numeric($value) ? time() : (int) $value; parent::__construct($caption, $name, $size, $value); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Date', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Constructor * @param object $object reference to targetobject (@link icms_ipf_Object) * @param string $key the form name */ public function __construct($object, $key) { parent::__construct($object->vars[$key]['form_caption'], $key, 15, $object->getVar($key, 'e')); }