function __construct($data = '', $type = 'text', $link = '') { parent::__construct($data, $type); if (parent::isFilledString($link)) { $this->setLink($link); } // end if }