public function setTitle($title)
    {

        if (!empty($title)) {
            $this->title = $title;
        } else if (isset($this->title)) {
            unset($this->title);
        }

    }
public function setTitle($title)
    {

        if (!empty($title)) {
            $this->title = $title;
        } else if (isset($this->title)) {
            unset($this->title);
        }

    }
public function setTitle ( $ title ) { if ( ! empty ( $ title ) ) { $ this -> title = $ title ; } else if ( isset ( $ this -> title ) ) { unset ( $ this -> title ) ; } }
Set a title value for the content-item.

@param string $title  Title value
Set a title value for the content - item .