コード例 #1
0
ファイル: AiraTest.php プロジェクト: TeaMeow/Aira
 function testAlive()
 {
     Aira::alive();
 }
コード例 #2
0
ファイル: aira.php プロジェクト: hpcslag/Aira
 /**
  * Set Handler
  * 
  * Set a error handler.
  * 
  * @param string $FunctionName   The name of the function which we want it to be the handler.
  */
 public static function SetHandler($FunctionName)
 {
     self::$Handler = $FunctionName;
 }
コード例 #3
0
ファイル: jajjimento.php プロジェクト: TeaMeow/Jajjimento
 /**
  * Log
  *
  */
 function log()
 {
     return $this->hasAira ? Aira::Add('INCORRECT_FORM') : $this;
 }
コード例 #4
0
ファイル: aira.php プロジェクト: TeaMeow/Aira
 /**
  * Set the success handler.
  *
  * @param string $handlerName   The name of the success handler function.
  */
 static function setSuccessHandler($handlerName)
 {
     self::$successHandler = $handlerName;
 }