Get the copy text of the current element; raw markdown likely

@api
@return string|null
502573
public function getCopyText()
    {
        $content = $this->getContent();
        $copy = array_shift($content);

        if (!is_array($copy)) {
            return null;
        }

        if ($copy['element'] !== 'copy') {
            return null;
        }

        return $copy['content'];
    }
990743
public function getText()
    {
        $more_info = $this->print_r($this->more_info, '[', ']', '', ',', ' ');

        $text = get_class($this).': '.$this->getMessage().' ('.$more_info.')'.
            ' in '.$this->getMyFile().':'.$this->getMyLine();

        return $text;
    }
639226
protected function getPrevious() {
		if ($this->get('page')> 1) {
			return $this->replaceLine($this->get('page') - 1, $this->get('previous'));
		}
		return null;
	}
720507
public function getRenderedDataAttribute() : ?string
    {
        if ($this->renderedData !== null) {
            return $this->renderedData;
        }

        if ($this->config->get('tracker.save_rendered', true) &&
            ($rendered = $this->getAttributeFromArray('data_rendered')) !== null) {
            return $this->renderedData = $rendered;
        }

        if (($raw = $this->getAttributeFromArray('data')) !== null) {
            return $this->renderedData = markdown($raw);
        }

        return null;
    }
32778
public function getPlainText()
    {
        // Return value
        $returnValue = '';

        // Loop through all PHPExcel_RichText_ITextElement
        foreach ($this->richTextElements as $text) {
            $returnValue .= $text->getText();
        }

        // Return
        return $returnValue;
    }
825640
public function getCharset()
    {
        if ($this->exists()) {
            $finfo = new \finfo(FILEINFO_MIME_ENCODING | FILEINFO_PRESERVE_ATIME);
            $mime = $finfo->file($this->getRealPath());
            return $mime;
        }
        return null;
    }
13071
public function getAsText() {
        $s = "";
        foreach($this->getChildren() as $child)
            $s .= $child->getAsText();
        return $s;
    }
1197560
public function getText() : ?string 
    {
        if ( ! $this->hasText()) {
            $this->setText($this->getDefaultText());
        }
        return $this->text;
    }
313514
public function getPlainText(){
		if( !$this->response )
			throw new RuntimeException( 'No conversion startet' );
		$cacheKey	= 'premailer_'.$this->response->requestId.'.text';
		if( $this->cache && $this->cache->has( $cacheKey ) )
			return $this->cache->get( $cacheKey );
		$text	= Net_Reader::readUrl( $this->response->documents->txt );
		$this->cache && $this->cache->set( $cacheKey, $text );
		return $text;
	}
1359304
public function getAsText()
    {
        if ($this->codeDefinition) {
            return $this->codeDefinition->asText($this);
        } else {
            $s = "";
            foreach ($this->getChildren() as $child) {
                $s .= $child->getAsText();
            }
            return $s;
        }
    }
105183
final public function getBodyText(): ?string
    {
        $iterator = new \RecursiveIteratorIterator($this, \RecursiveIteratorIterator::SELF_FIRST);
        foreach ($iterator as $part) {
            if (self::SUBTYPE_PLAIN === $part->getSubtype()) {
                return $part->getDecodedContent();
            }
        }

        // If message has no parts, return content of message itself.
        if (self::SUBTYPE_PLAIN === $this->getSubtype()) {
            return $this->getDecodedContent();
        }

        return null;
    }
1093766
public function getHTML()
    {
        $details = $this->getHTMLDetails();
        extract($details);

        $label = isset($this['label'])
            ? " value='{$this['label']}'"
            : null;
        $classSubmit = isset($this['class-submit'])
            ? " class='{$this['class-submit']}'"
            : null;

        return <<<EOD
<{$wrapperElement}{$wrapperClass}>
<input id='$id' type='search'{$class}{$name}{$value}{$autofocus}{$required}{$readonly}{$placeholder}/>
<input id='do-{$id}' type='submit'{$classSubmit}{$label}{$readonly}{$title}/>
</{$wrapperElement}>
<p class='cf-desc'>{$description}</p>
EOD;
    }
927708
function copyText() {
	$$('[data-copy]').forEach(item => {
		item.addEventListener('click', e => {
			e.preventDefault();
			e.stopPropagation();
			const target = e.currentTarget;
			const copyValue = target.getAttribute('data-copy');
			target.classList.add('is-active');

			copy(copyValue, () => {
				console.log('copied ', copyValue);

				setTimeout(() => {
					target.classList.remove('is-active');
				}, 500);
			});
		}, false);
	});
}
153013
public function getMissingText()
    {
        $missing = $this->missing ?: $this->dataFilter->getMissingTemplate();
        return U::formatString($missing, array(
            'attrib' => $this->name
        ));
    }
147185
public function getExampleFormMarkup()
    {
        $label = Widget::Label($this->get('label'));
        $label->appendChild(Widget::Input('fields['.$this->get('element_name').']', 'yes', 'checkbox', ($this->get('default_state') == 'on' ? array('checked' => 'checked') : null)));

        return $label;
    }
1369818
public function getElement()
    {
        $this->startCommentBlock();
        foreach ($this->description as $line) {
            $this->addLine($line);
        }
        $this->addBlankLine();

        if (count($this->var_types) > 0) {
            $type_ltgh = max(array_map('mb_strlen', $this->var_types));
            $var_ltgh = max(array_map('mb_strlen', array_keys($this->var_types)));
            foreach ($this->var_types as $name => $type) {
                $type = str_pad($type, $type_ltgh);
                $param = str_pad($name, $var_ltgh);
                $this->addLine('@param '.$type.'$'.$param.' '.$this->var_descriptions[$name]);
            }
            $this->addBlankLine();
        }

        if (count($this->params) > 0) {
            $params_ltgh = array_map('strlen', array_keys($this->params));
            foreach ($this->params as $param => $value) {
                $this->addLine('@'.str_pad($param, max($params_ltgh)).' '.$value);
            }
        }

        $this->endCommentBlock();
        return $this->lines;
    }
290853
protected function getScriptText()
    {
        $actionName = Builder::escapeText($this->actionName);
        if ($this->control) {
            // Control event
            $controlId  = Builder::escapeText($this->control->getId());
            $scriptText = "
if (Event.Control.ControlId == {$controlId}) {
	TriggerPageAction({$actionName});
}";
        } else {
            // Other
            $scriptText = "
TriggerPageAction({$actionName});";
        }
        return $scriptText;
    }