/** * 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; }
function __construct(Am_Protect_Databased $plugin, $db = null, $table = null, $key = null, $recordClass = null) { parent::__construct($plugin, $db, $table, $key, $recordClass); }