示例#1
0
 public function testCleanExitInitialized()
 {
     ezcExecution::reset();
     ezcExecution::init('ExecutionTest2');
     ezcExecution::cleanExit();
 }
示例#2
0
 /**
  * Class constructor
  *
  * Initialize a new Logging controller plugin
  */
 public function __construct()
 {
     ezcExecution::init('QFrame_Controller_Plugin_EzcExecution');
 }
示例#3
0
<?php

require 'ezc-setup.php';
class myExecutionHandler extends ezcExecutionBasicErrorHandler
{
    public static function onError(Exception $exception = NULL)
    {
        echo '<div class="shadow" style="margin: 1em 4em 0.8em 3em;"><div  class="output" style="font-size: 1.8em; margin: -0.55555555555556em 0 0 -0.55555555555556em; background: #eeee33;">';
        parent::onError($exception);
    }
}
ezcExecution::init('myExecutionHandler');
//ezcExecution::cleanExit();
示例#4
0
<?php

require_once 'tutorial_autoload.php';
ezcExecution::init('ezcExecutionBasicErrorHandler');
ezcExecution::cleanExit();