/** * Make html block with data about * external Twitter account (avatar, username) * * @return string html block */ protected function makeBlockExternal() { d('oViewer: ' . print_r($this->oViewer->getArrayCopy(), 1)); $aVals = array('LinkedIn', $this->oViewer->getAvatarImgSrc(), $this->oViewer['fn'] . ' ' . $this->oViewer['ln']); $s = \tplAvatarblock::parse($aVals, false); return $s; }
/** * Make html block with data about * external Twitter account (avatar, username) * * @return string html block */ protected function makeBlockExternal() { d('oViewer: ' . print_r($this->oViewer, 1)); $aVals = array('Friend Connect', $this->oViewer->getAvatarImgSrc(), $this->oViewer['fn']); $s = \tplAvatarblock::parse($aVals, false); d('$s: ' . $s); return $s; }
/** * Make html block with data about * external Twitter account (avatar, username) * * @return string html block */ protected function makeBlockExternal() { d('oViewer: ' . print_r($this->oViewer, 1)); $aVals = array('Twitter', $this->oViewer->getAvatarImgSrc(), $this->oViewer->getTwitterUsername()); d('$aVals: ' . print_r($aVals, 1)); $s = \tplAvatarblock::parse($aVals, false); return $s; }