Example #1
0
 public function __construct($strText = '', $strValue = null, $strAnchor = null)
 {
     parent::__construct($strText, $strValue);
     if ($strAnchor) {
         $this->strAnchor = $strAnchor;
     }
 }
Example #2
0
 public function __construct($strText = '', $strValue = null, $strAnchor = null)
 {
     parent::__construct($strText, $strValue);
     if ($strAnchor) {
         $this->strAnchor = $strAnchor;
     } else {
         $this->strAnchor = '#';
         // need a default for attaching clicks and correct styling.
     }
 }
Example #3
0
 public function __construct($strImageUrl, $strAltText, $strText = null, $strAnchor = null, $strId = null)
 {
     parent::__construct($strText, $strAnchor, $strId);
     $this->strImageUrl = $strImageUrl;
     $this->strAltText = $strAltText;
 }