コード例 #1
0
 public function __construct($name = _CORE_TOKEN, $timeout = 0)
 {
     parent::__construct($name, $timeout);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Hiddentoken', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
コード例 #2
0
ファイル: Security.php プロジェクト: LeeGlendenning/formulize
 /**
  * Get the HTML code for a @link icms_form_elements_Hiddentoken object - used in forms that do not use XoopsForm elements
  *
  * @return string
  **/
 public function getTokenHTML($name = _CORE_TOKEN)
 {
     $token = new icms_form_elements_Hiddentoken($name);
     return $token->render();
 }