/** * Constructor * * @param string $name "name" attribute * @param int $timeout timeout variable for the createToken function */ public function icms_form_elements_Hiddentoken($name = _CORE_TOKEN, $timeout = 0) { parent::__construct($name . '_REQUEST', icms::$security->createToken($timeout, $name)); }
public function __construct($name, $value) { parent::__construct($name, $value); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Hidden', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }