Пример #1
0
 /**
  * Register autoload scope
  * This process allow include scope file which can contain classes
  * definition which are used for this scope
  *
  * @param string $code scope code
  */
 public static function registerScope($code)
 {
     self::$_scope = $code;
     if (defined('COMPILER_INCLUDE_PATH')) {
         @(include_once self::SCOPE_FILE_PREFIX . $code . '.php');
     }
 }
Пример #2
0
 /**
  * Register autoload scope
  * This process allow include scope file which can contain classes
  * definition which are used for this scope
  *
  * @param string $code scope code
  */
 public static function registerScope($code)
 {
     self::$_scope = $code;
 }
Пример #3
0
 /**
  * Register autoload scope
  * This process allow include scope file which can contain classes
  * definition which are used for this scope
  *
  * @param string $code scope code
  */
 public static function registerScope($code)
 {
     self::$_scope = $code;
     @(include_once self::SCOPE_FILE_PREFIX . $code . '.php');
 }
Пример #4
0
 /**
  * Register autoload scope
  * This process allow include scope file which can contain classes
  * definition which are used for this scope
  *
  * @param string $code scope code
  */
 static public function registerScope($code)
 {
     self::$_scope = $code;
     if (defined('COMPILER_INCLUDE_PATH')) {
         @include COMPILER_INCLUDE_PATH . DIRECTORY_SEPARATOR . self::SCOPE_FILE_PREFIX.$code.'.php';
     }
 }