public function __construct(array $parameters = array())
 {
     if (method_exists(get_parent_class($this), '__construct')) {
         parent::__construct($parameters);
     }
     $this->useContext('background', new Context\Background($parameters));
     $this->useContext('login', new Context\Login($parameters));
     $this->useContext('testsp', new Context\TestSp($parameters));
     $this->useContext('portalsp', new Context\Portal($parameters));
     $this->useContext('metadata', new Context\Metadata($parameters));
     $this->useContext('caching', new Context\Caching($parameters));
     $this->useContext('wrongcertsp', new Context\WrongCertSP($parameters));
     $this->useContext('provisioning', new Context\Provisioning($parameters));
     $this->useContext('opensocial', new Context\OpenSocial($parameters));
 }
Example #2
0
 public function locatePath($path)
 {
     return parent::locatePath($this->getPathTo($path));
 }
Example #3
0
 /**
  * @param $name
  * @return mixed|null
  */
 public function getParameter($name)
 {
     if (empty(self::$parameters)) {
         self::$parameters = parent::getParameters();
     }
     return isset(self::$parameters[$name]) ? self::$parameters[$name] : null;
 }