/** * This was added to simplify the front-end code for building an array of objects when all of a particular table type for an id are requested. * i.e. to retrieve all videos */ public static function fetchAll($table, $key = null, $id = 0) { $db_interface = new DBInterface($table); return $db_interface->_fetchAll($key, $id); }