Source of file NLTextComponent.php
Size: 0,550 Bytes - Last Modified: 2021-12-23T10:05:39+00:00
/var/www/docs.ssmods.com/process/src/code/basic/NLTextComponent.php
1234567891011121314151617181920212223242526272829 | <?php /** * Represent a component with a piece of text. */ class NLTextComponent extends NLComponent { static public function get_metadata() { return array( "name" => "Text", "description" => "Rich text", "imageURL" => null, "display" => "inline", "properties" => array( "Text" => array( "name" => "Text", "type" => "Text|Varchar|HTMLText", "description" => "The text that will display" ) ) ); } function renderContent($context) { $v = $this->getBindingValues($context); return $v->Text; } } |