public function setMetatags(array $metatags)
    {
        if(array_key_exists('title', $metatags)) $this->metaTitle = $metatags['title'];
        if(array_key_exists('description', $metatags)) $this->metaDescription = $metatags['description'];
        if(array_key_exists('keywords', $metatags)) $this->metaKeywords = $metatags['keywords'];

        return $this;
    }
public function setMetatags(array $metatags)
    {
        if(array_key_exists('title', $metatags)) $this->metaTitle = $metatags['title'];
        if(array_key_exists('description', $metatags)) $this->metaDescription = $metatags['description'];
        if(array_key_exists('keywords', $metatags)) $this->metaKeywords = $metatags['keywords'];

        return $this;
    }
public function setMetatags ( array $ metatags ) { if ( array_key_exists ( 'title' , $ metatags ) ) $ this -> metaTitle = $ metatags [ 'title' ] ; if ( array_key_exists ( 'description' , $ metatags ) ) $ this -> metaDescription = $ metatags [ 'description' ] ; if ( array_key_exists ( 'keywords' , $ metatags ) ) $ this -> metaKeywords = $ metatags [ 'keywords' ] ; return $ this ; }
Sets the page metatags


The metatags array could have the following keys:

- title
- description
- keywords

@param array $metatags
Sets the page metatags