Ejemplo n.º 1
0
 function testAlive()
 {
     Aira::alive();
 }
Ejemplo n.º 2
0
 /**
  * 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;
 }
Ejemplo n.º 3
0
 /**
  * Log
  *
  */
 function log()
 {
     return $this->hasAira ? Aira::Add('INCORRECT_FORM') : $this;
 }
Ejemplo n.º 4
0
 /**
  * Set the success handler.
  *
  * @param string $handlerName   The name of the success handler function.
  */
 static function setSuccessHandler($handlerName)
 {
     self::$successHandler = $handlerName;
 }