original_string: 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
              ]);
          }
      }
code: 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
              ]);
          }
      }
code_tokens: 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 ] ) ; } }
docstring: Setting meta tags.
  @param string $keywords
  @param string $description
docstring_tokens: Setting meta tags .