/** * checks to see if strTable exists in database returning true or false * @static * @param string strTable name of table to check for * @return bool true/false */ static function TableExists($strTable) { return in_array($strTable, MyActiveRecord::Tables()); }