Beispiel #1
0
    /**
     * Set initial definitions
     */
    public function __construct()
    {
        parent::__construct();

        $this->pageIdentifierMap += array(
            "search" => "/content/search"
        );

        $this->mainAttributes += array(
            'ez logo' => array( "class" => "logo", "href" => "/" )
        );
    }
 /**
  * Initialize class.
  *
  * @param string $uri
  */
 public function __construct($uri = self::PLATFORM_URI, $user = null, $password = null)
 {
     parent::__construct();
     $this->pageIdentifierMap['roles'] = '/ez#/admin/pjax%2Frole';
     $this->pageIdentifierMap['users'] = '/ez#/view/%2Fapi%2Fezp%2Fv2%2Fcontent%2Flocations%2F1%2F5/eng-GB';
     $this->platformUiUri = $uri;
     if ($user != null) {
         $this->user = $user;
     }
     if ($password != null) {
         $this->password = $password;
     }
 }
    /**
     * Set initial definitions
     */
    public function __construct()
    {
        parent::__construct();

        $this->pageIdentifierMap += array(
            "search" => "/content/search",
            "premium_article" => "/Getting-Started/Selected-Features/Getting-Started-with-eZ-Publish-Platform"
        );

        $this->mainAttributes += array(
            'ez logo' => array( "class" => "logo", "href" => "/" )
        );
    }
 /**
  * Initialize class.
  *
  * @param string $uri
  */
 public function __construct($uri, $user = null, $password = null)
 {
     parent::__construct();
     $this->pageIdentifierMap['roles'] = '/ez#/admin/pjax%2Frole';
     $this->platformUiUri = $uri;
     if ($user != null) {
         $this->user = $user;
     }
     if ($password != null) {
         $this->password = $password;
     }
 }
Beispiel #5
0
 /**
  * Set initial definitions.
  */
 public function __construct()
 {
     parent::__construct();
     $this->pageIdentifierMap += array('search' => '/content/search', 'premium_article' => '/Getting-Started/Selected-Features/Getting-Started-with-eZ-Publish-Platform', 'blog' => '/Blog', 'feedback_form' => '/Contact-Us', 'place' => '/eZ-Mountains', 'services' => '/Shopping/Services', 'products' => '/Shopping/Products', 'resources' => '/Getting-Started/Resources', 'partner' => '/Partner');
     $this->mainAttributes += array('ez logo' => array('class' => 'logo', 'href' => '/'));
 }