Пример #1
0
 public static function load($xmlfile)
 {
     self::instance()->site = Site::load($xmlfile);
     self::instance()->root = dirname($xmlfile);
     return self::instance();
 }
Пример #2
0
 public function __construct(array $subsites, array $targets, array $actions, $prefix = null)
 {
     $this->prefix = $prefix;
     parent::__construct($subsites, $targets, $actions);
 }