static function construct()
  {
    $aniDbTitles = new AniDbTitles();

    $aniDbTitles->db = Registry::getDatabase();
    $aniDbTitles->model = $aniDbTitles->db->factory('@' . $aniDbTitles->table);

    return $aniDbTitles;
  }
static function construct()
  {
    $aniDbTitles = new AniDbTitles();

    $aniDbTitles->db = Registry::getDatabase();
    $aniDbTitles->model = $aniDbTitles->db->factory('@' . $aniDbTitles->table);

    return $aniDbTitles;
  }
static function construct ( ) { $ aniDbTitles = new AniDbTitles ( ) ; $ aniDbTitles -> db = Registry :: getDatabase ( ) ; $ aniDbTitles -> model = $ aniDbTitles -> db -> factory ( '@' . $ aniDbTitles -> table ) ; return $ aniDbTitles ; }
Creates a new AniDbTitles instance

@param array $dbInfo Array consisting of dsn, username and password, used to connect to the database where the anidbtitles are stored
@param string $table The table to store and access the cached anidb titles
@return AniDbTitles The created AniDbTitles instance
Creates a new AniDbTitles instance