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 _getBirthday() { if ($this->userInfo->getBirthday()) { $birthday = date('F j, Y', strtotime($this->userInfo->getBirthday())); return $birthday; } return null; }