예제 #1
0
 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;
 }
예제 #2
0
 protected function _getName()
 {
     return sprintf('%s %s', $this->userInfo->getFirstName(), $this->userInfo->getLastName());
 }