protected function vars($link, &$arguments, $caption = null, $parser = null)
 {
     $vars = $this->unsetVars(parent::vars($link, $arguments, $caption, $parser), ['fbAction', 'fbLayout', 'fbFaces', 'fbShare', 'fbForKids']);
     if (isset($arguments['mobile'])) {
         $vars['fbMobile'] = $arguments['mobile'] ? $arguments['mobile'] : false;
     }
     if (isset($arguments['num_posts'])) {
         $vars['fbNumPosts'] = $arguments['num_posts'] ? $arguments['num_posts'] : false;
     }
     if (isset($arguments['order_by'])) {
         $vars['fbOrderBy'] = $arguments['order_by'] ? $arguments['order_by'] : false;
     }
     return $vars;
 }
Ejemplo n.º 2
0
 protected function vars($link, &$arguments, $caption = null, $parser = null)
 {
     return $this->unsetVars(parent::vars($link, $arguments, $caption, $parser), ['fbShare']);
 }
Ejemplo n.º 3
0
 protected function vars($link, &$arguments, $caption = null, $parser = null)
 {
     return $this->unsetVars(parent::vars($link, $arguments, $caption, $parser), ['fbAction', 'fbScheme', 'fbFaces', 'fbShare', 'fbForKids']);
 }