public function getTitleField()
    {
        if ($this->title_field && $this->hasElement($this->title_field)) {
            return $this->title_field;
        }

        return $this->id_field;
    }
public function getTitleField()
    {
        if ($this->title_field && $this->hasElement($this->title_field)) {
            return $this->title_field;
        }

        return $this->id_field;
    }
public function getTitleField ( ) { if ( $ this -> title_field && $ this -> hasElement ( $ this -> title_field ) ) { return $ this -> title_field ; } return $ this -> id_field ; }
Return the title field.

@return string the title field
Return the title field .