protected function _getButtonText() { if (is_null($this->userInfo) || !$this->userInfo->hasData()) { if (!($text = Mage::registry('inchoo_socialconnect_button_text'))) { $text = $this->__('Connect'); } } else { $text = $this->__('Disconnect'); } return $text; }
protected function _getName() { return sprintf('%s %s', $this->userInfo->getFirstName(), $this->userInfo->getLastName()); }