public function getAlternativeTitles($title)
  {
    $builder = $this->db->builder();

    return $builder
      ->select('search.title')
      ->from([$this->table . ' as main'])
      ->join($this->table . ' as search', 'main."aniDbId" = search."aniDbId"')
      ->where('main.title = :title')
      ->queryColumn([ 'title' => $title ]);

  }
public function getAlternativeTitles($title)
  {
    $builder = $this->db->builder();

    return $builder
      ->select('search.title')
      ->from([$this->table . ' as main'])
      ->join($this->table . ' as search', 'main."aniDbId" = search."aniDbId"')
      ->where('main.title = :title')
      ->queryColumn([ 'title' => $title ]);

  }
public function getAlternativeTitles ( $ title ) { $ builder = $ this -> db -> builder ( ) ; return $ builder -> select ( 'search.title' ) -> from ( [ $ this -> table . ' as main' ] ) -> join ( $ this -> table . ' as search' , 'main."aniDbId" = search."aniDbId"' ) -> where ( 'main.title = :title' ) -> queryColumn ( [ 'title' => $ title ] ) ; }
Gets all alternative titles for the title given
@param string $title The title to get alternative titles for
@return array Array consisting of alternative titles for given title
Gets all alternative titles for the title given