Exemple #1
0
 /**
  * get session table if applicable
  * @return Am_Protect_SingleLogin|null
  */
 function getSessionTable()
 {
     if (!$this->_sessionTable) {
         $this->_sessionTable = $this->createSessionTable();
     }
     if (!is_null($this->_sessionTable)) {
         $this->_sessionTable->setDi($this->getDi());
     }
     return $this->_sessionTable;
 }
Exemple #2
0
 function __construct(Am_Protect_Databased $plugin, $db = null, $table = null, $key = null, $recordClass = null)
 {
     parent::__construct($plugin, $db, $table, $key, $recordClass);
 }