/** * instantiate the postman * * @since Method available since Release 1.2.0 */ public function __construct() { $this->_config = SimpleSAML_Configuration::getConfig('module_janus.php'); // Send DB config to parent class parent::__construct($this->_config->getValue('store')); $this->_paginate = $this->_config->getValue('dashboard.inbox.paginate_by', 20); }
/** * Creates a new administrator utility. * * @since Method available since Release 1.0.0 */ public function __construct() { $this->_config = SimpleSAML_Configuration::getConfig('module_janus.php'); // Send DB config to parent class parent::__construct($this->_config->getValue('store')); }
/** * Class constructor. * * Constructs a EntityController object. * * @param SimpleSAML_Configuration $config Global SSP configuration */ public function __construct(SimpleSAML_Configuration $config) { parent::__construct($config->getValue('store')); $this->_config = $config; }
/** * Create new entity * * Will instanciate a new entity given correct configuration. If parsed the * new flag, a new eid will be generated. * * @param array $config Configuration for the database * @param bool $new Is entity new, default false */ public function __construct($config, $new = false) { // To start with only the store config is parsed til user parent::__construct($config->getValue('store')); $this->_config = $config; // If entity is new, get new eid if ($new) { $this->_getNewEid(); } }
/** * Creates a new instanse of matadata * * @param SimpleSAML_Configuration $config Configuration for JANUS * * @since Class available since Release 1.0.0 */ public function __construct($config) { parent::__construct($config); }