Set reset button text.

@param string $resetText

@return $this
422311
public function resetText(string $resetText)
    {
        /** @var Button $btn */
        $btn = $this->getButton($this->bottomLocation, $this->resetButtonKey);
        $btn->text($resetText);

        return $this;
    }
660060
public function setEmptyText($text = null)
    {
        $this->empty_text = $text === null ? $this->default_empty_text : $text;

        return $this;
    }
895829
public function setText(string $text): self
    {
        $text = trim($text);
        if ('' === $text) {
            throw new Exception('The text can not be empty');
        }

        $this->text = $text;

        return $this;
    }
854474
public function addButtonReset(string $name) : Element\Button\Reset
    {
        $button = new Element\Button\Reset($this, $name);
        $this->addComponent($name, $button);

        return $button;
    }
565300
public function setResetParams($resetParams)
        {
            $this->_resetParams = (bool) $resetParams;
            $this->_hrefCache   = null;

            return $this;
        }
1291230
public function text($text = '')
    {
        $msg = array(
            'ToUserName'   => $this->getRevFrom(),
            'FromUserName' => $this->getRevTo(),
            'MsgType'      => self::MSGTYPE_TEXT,
            'Content'      => $this->_auto_text_filter($text),
            'CreateTime'   => time(),
        );
        $this->Message($msg);
        return $this;
    }
804033
public function setReplacement($string): self
    {
        $this->_replacement = (string) $string;

        $this->_initNeverAllowedStr();

        return $this;
    }
533056
public function reset($default = true)
    {
        foreach($this->_data as $state) {
            $this->set($state->name, $default ? $state->default : null);
        }

        return $this;
    }
542157
public function reset()
    {
        $this->contentLength = 0;
        $this->data = "";
        $this->headers = [];
        $this->status = 200;

        return $this;
    }
724869
public function setSmsText($text)
    {
        if (strlen($text) > 459) {
            $message = sprintf("The sms text is too long");
            throw new \InvalidArgumentException($message, 500);
        }

        $this->params['sms_text'] = trim($text);
        return $this;
    }
577338
public function text( $text )
	{
		if( !empty( $text ) )
		{
			$langid = $this->getContext()->getLocale()->getLanguageId();
			$func = $this->filter->createFunction( 'index.text:relevance', [$langid, $text] );

			$this->conditions[] = $this->filter->compare( '>', $func, 0 );
		}

		return $this;
	}
906644
function setCData($text) {
		/** @var \DOMElement $domElement */
		$domElement = dom_import_simplexml($this);
		$domElement->appendChild($domElement->ownerDocument->createCDATASection($text));
		return $this;
	}
1193737
public function setPageCaption($text)
    {
        $this->pageCaption[] = $text;
        if( $this->_prefix !== 'front') {
            $this->setPageTitle($text);
        }
        return $this;
    }
1007413
public function text($text) {

        if(false === is_string($text)) {
            return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($text)), E_USER_ERROR);
        }

    	$this -> text = $text;

    	return $this;
    }
1235988
public function reset()
    {
        $this->html        = array(array());
        $this->hiddenHtml  = '';
        $this->errors      = array();
        $this->hasRequired = false;
        $this->groupId     = array();

        return $this;
    }
1236191
public function setText($text, $markdown = true)
    {
        $this->data['text'] = $text;
        $this->data['mrkdwn'] = $markdown;
        return $this;
    }
345883
public function setMethod( $method, $resetStatus = TRUE ){
		$this->validateMethod( $method );
		if( $this->method !== $method ){
			$this->method	= $method;
			if( $resetStatus )
				$this->status	= self::STATUS_UNKNOWN;
		}
		return $this;
	}