public function setMetaTags($keywords = null, $description = null)
    {
        if (empty($keywords)) {
            $keywords = $this->module->podiumConfig->get('meta_keywords');
        }
        if ($keywords) {
            $this->getView()->registerMetaTag([
                'name' => 'keywords',
                'content' => $keywords
            ]);
        }
        if (empty($description)) {
            $description = $this->module->podiumConfig->get('meta_description');
        }
        if ($description) {
            $this->getView()->registerMetaTag([
                'name' => 'description',
                'content' => $description
            ]);
        }
    }
public function setMetaTags($keywords = null, $description = null)
    {
        if (empty($keywords)) {
            $keywords = $this->module->podiumConfig->get('meta_keywords');
        }
        if ($keywords) {
            $this->getView()->registerMetaTag([
                'name' => 'keywords',
                'content' => $keywords
            ]);
        }
        if (empty($description)) {
            $description = $this->module->podiumConfig->get('meta_description');
        }
        if ($description) {
            $this->getView()->registerMetaTag([
                'name' => 'description',
                'content' => $description
            ]);
        }
    }
public function setMetaTags ( $ keywords = null , $ description = null ) { if ( empty ( $ keywords ) ) { $ keywords = $ this -> module -> podiumConfig -> get ( 'meta_keywords' ) ; } if ( $ keywords ) { $ this -> getView ( ) -> registerMetaTag ( [ 'name' => 'keywords' , 'content' => $ keywords ] ) ; } if ( empty ( $ description ) ) { $ description = $ this -> module -> podiumConfig -> get ( 'meta_description' ) ; } if ( $ description ) { $ this -> getView ( ) -> registerMetaTag ( [ 'name' => 'description' , 'content' => $ description ] ) ; } }
Setting meta tags.
@param string $keywords
@param string $description
Setting meta tags .