tag if the * "condition" attribute is set and false or 0 * * @param string $content The tag's content * * @return string The generated tag */ public function render($content = '') { $attributes = $this->getElement()->getAttribs(); $condition = isset($attributes['condition']) ? $attributes['condition'] : 1; if ($condition != 1) { $content = ''; } return $content; } }