public function logo($config = array())
    {
        $config = new AnConfig($config);

        $config->append(array(
            'show_logo' => pick($this->_params->showLogo, 1),
            'name' => pick($this->_params->brandName, 'Anahita'),
            'url' => 'base://',
        ));

        $showLogo = ($config->show_logo) ? ' brand-logo' : '';

        return '<a class="brand'.$showLogo.'" href="'.$config->url.'">'.$config->name.'</a>';
    }
public function logo($config = array())
    {
        $config = new AnConfig($config);

        $config->append(array(
            'show_logo' => pick($this->_params->showLogo, 1),
            'name' => pick($this->_params->brandName, 'Anahita'),
            'url' => 'base://',
        ));

        $showLogo = ($config->show_logo) ? ' brand-logo' : '';

        return '<a class="brand'.$showLogo.'" href="'.$config->url.'">'.$config->name.'</a>';
    }
public function logo ( $ config = array ( ) ) { $ config = new AnConfig ( $ config ) ; $ config -> append ( array ( 'show_logo' => pick ( $ this -> _params -> showLogo , 1 ) , 'name' => pick ( $ this -> _params -> brandName , 'Anahita' ) , 'url' => 'base://' , ) ) ; $ showLogo = ( $ config -> show_logo ) ? ' brand-logo' : '' ; return '<a class="brand' . $ showLogo . '" href="' . $ config -> url . '">' . $ config -> name . '</a>' ; }
Renders the logo hyperlinked.

@param $config Configuration

@return string
Renders the logo hyperlinked .