Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function __construct(Cms $cms)
 {
     parent::__construct($cms);
     if (!session_id() && !headers_sent()) {
         session_start();
         // @codeCoverageIgnore
     }
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function __construct(Cms $cms)
 {
     parent::__construct($cms);
     $this->_session = \JFactory::getSession();
 }