Exemplo n.º 1
0
 public function render($_options, $_html_encode = false)
 {
     return parent::render($_options, $_html_encode);
 }
Exemplo n.º 2
0
 public function render($_options, $_html_encode = false)
 {
     if (self::_get_rendered()) {
         return '';
     }
     if (!array_key_exists('meta_tag_rules', $_options)) {
         $_options['meta_tag_rules'] = array();
     }
     $_options['meta_tag_rules'][] = array('expression' => !property_exists($this->_properties, 'layout') || $this->_properties->layout['option_id'] == 'layout', 'tag' => 'has_container');
     $_options['meta_tag_rules'][] = array('expression' => $this->_has_flags(), 'tag' => 'has_flags');
     $_options['meta_tag_rules'][] = array('expression' => PrisnaGWTConfig::getSettingValue('display_mode') == 'inline', 'tag' => 'is_inline');
     $_options['meta_tag_rules'][] = array('expression' => PrisnaGWTConfig::getSettingValue('banner') === 'hide', 'tag' => 'hide_banner');
     self::_set_rendered(true);
     return parent::render($_options, $_html_encode);
 }