'; return $html . $this->_wrapInATag('Facebook', 'http://www.facebook.de'); } /** * Overloaded "build_html" method. * * Extends the html with a link to facebook. * * @return string */ public function build_html($p_content_data_array = false, $p_template_file = false) { $html = parent::build_html() . '
'; return $html . $this->_wrapInATag('Facebook', 'http://www.facebook.de'); } /** * Wraps the argument in an a-html tag. * * @param string $value Inner html value. * @param string $link Href link. * * @return string */ private function _wrapInATag($value, $link) { return '' . $value . ''; } }