src/AutoMeta/AutoMeta.php
public function setTitle($title, $suffix='', $has_suffix=true)
    {
        // clean title
        $title = strip_tags($title);
        $suffix = strip_tags($suffix);

        // store title session
        $this->title_session = $title;

        // store title
        $this->title = $this->parseTitle($title, $suffix, $has_suffix);

        return $this;
    }
public function setTitle($title, $suffix='', $has_suffix=true)
    {
        // clean title
        $title = strip_tags($title);
        $suffix = strip_tags($suffix);

        // store title session
        $this->title_session = $title;

        // store title
        $this->title = $this->parseTitle($title, $suffix, $has_suffix);

        return $this;
    }
public function setTitle ( $ title , $ suffix = '' , $ has_suffix = true ) { // clean title $ title = strip_tags ( $ title ) ; $ suffix = strip_tags ( $ suffix ) ; // store title session $ this -> title_session = $ title ; // store title $ this -> title = $ this -> parseTitle ( $ title , $ suffix , $ has_suffix ) ; return $ this ; }
Sets the title

@param string $title
@param string $suffix
@param boolean $has_suffix

@return MetaTagsContract
Sets the title