public function setText($text)
    {

        if (!empty($text)) {
            $this->text = $text;
        } else if (isset($this->text)) {
            unset($this->text);
        }

    }
public function setText($text)
    {

        if (!empty($text)) {
            $this->text = $text;
        } else if (isset($this->text)) {
            unset($this->text);
        }

    }
public function setText ( $ text ) { if ( ! empty ( $ text ) ) { $ this -> text = $ text ; } else if ( isset ( $ this -> text ) ) { unset ( $ this -> text ) ; } }
Set a link text value for the content-item.

@param string $text  Link text value
Set a link text value for the content - item .