public static function load($xmlfile) { self::instance()->site = Site::load($xmlfile); self::instance()->root = dirname($xmlfile); return self::instance(); }
public function __construct(array $subsites, array $targets, array $actions, $prefix = null) { $this->prefix = $prefix; parent::__construct($subsites, $targets, $actions); }