static function getAutoObject($tablename = null, $dbname = null)
    {
        if (empty($tablename)) return false;
        $tables = self::getObjectsStructure( $dbname );
        if ($tables) {
            foreach ($tables as $_tbl_name=>$_tbl_obj) {
                if ($_tbl_obj->getTableName()==$tablename) {
                    return $_tbl_obj;
                }
            }
        }
        return false;
    }
static function getAutoObject($tablename = null, $dbname = null)
    {
        if (empty($tablename)) return false;
        $tables = self::getObjectsStructure( $dbname );
        if ($tables) {
            foreach ($tables as $_tbl_name=>$_tbl_obj) {
                if ($_tbl_obj->getTableName()==$tablename) {
                    return $_tbl_obj;
                }
            }
        }
        return false;
    }
static function getAutoObject ( $ tablename = null , $ dbname = null ) { if ( empty ( $ tablename ) ) return false ; $ tables = self :: getObjectsStructure ( $ dbname ) ; if ( $ tables ) { foreach ( $ tables as $ _tbl_name => $ _tbl_obj ) { if ( $ _tbl_obj -> getTableName ( ) == $ tablename ) { return $ _tbl_obj ; } } } return false ; }
Get a table entry from a specific database
@param string $tablename The name of the table to search
@param string $dbname The name of the database to search
@return array Returns an array of the table structure (FALSE if nothing is find)
Get a table entry from a specific database