system/Database/DatabaseManager.php
/**
     * Get the last id after an insert tranasction
     *
     * @return int
     */
Get the last id after an insert tranasction
@return int
Get the last id after an insert tranasction @return int
public static function lastId()
    {
        $id = session('lastId');
        unset($_SESSION['lastId']);
        return $id;
    }
public static function lastId ( ) { $ id = session ( 'lastId' ) ; unset ( $ _SESSION [ 'lastId' ] ) ; return $ id ; }
Get the last id after an insert tranasction
 @return int
Get the last id after an insert tranasction @return int