getColumn("SELECT `id` FROM `sys_accounts` ORDER BY `added` DESC LIMIT " . (int)$iLimit); } public function getSessionRowByAccountId($iAccountId) { return $this->getRow("SELECT * FROM `sys_sessions` WHERE `user_id` = :account ORDER BY `date` DESC LIMIT 1", array( 'account' => $iAccountId, )); } } /** @} */