Example #1
0
 /**
  * Get View with Imitation content.
  *
  * @access     public
  * @return    View
  * @since      1.0.0-alpha
  * @version    1.0.0-alpha
  */
 public function getContentView()
 {
     $oContent = parent::getContentView();
     $oContent->bind('sContent', $this->sValue);
     return $oContent;
 }
Example #2
0
 /**
  * Get View with Imitation content.
  *
  * @access     public
  * @return    View
  * @since      1.0.0-alpha
  * @version    1.0.0-alpha
  */
 public function getContentView()
 {
     $oContent = parent::getContentView();
     $oModel = $this->oEntity->getModel();
     $sURL = $oModel->url();
     $mValue = $oModel->{$this->sModelFieldAsTitle};
     $sTitle = $this->sTitlePrefix . $mValue . $this->sTitleSuffix;
     $oContent->bind('sURL', $sURL);
     $oContent->bind('sTitle', $sTitle);
     $oContent->bind('sValue', $this->sValue);
     return $oContent;
 }