Render the object into a string.

@return mixed
6767
public function render()
    {
        $classes = ArrayList::of([
            'fa',
            vsprintf('fa-%s', [$this->icon])
        ]);

        // Spin class (fa-spin)
        if ($this->spin) {
            $classes = $classes->append(ArrayList::of(['fa-spin']));
        }

        // Size classes (fa-lg, fa-2x, fa-3x...)
        if ($this->size === 1) {
            $classes = $classes->append(ArrayList::of(['fa-lg']));
        } elseif ($this->size > 1 && $this->size < 6) {
            $classes = $classes->append(ArrayList::of([
                vsprintf('fa-%dx', [$this->size])
            ]));
        }

        // Fixed-width class (fa-fw)
        if ($this->fixedWidth) {
            $classes = $classes->append(ArrayList::of(['fa-fw']));
        }

        // List icons class (fa-li)
        if ($this->list) {
            $classes = $classes->append(ArrayList::of(['fa-li']));
        }

        // Border class (fa-border)
        if ($this->bordered) {
            $classes = $classes->append(ArrayList::of(['fa-border']));
        }

        // Pull classes (fa-pull-right, fa-pull-left)
        if ($this->pull !== null && $this->pull !== '') {
            $classes = $classes->append(ArrayList::of([
                vsprintf('fa-pull-%s', [$this->pull])
            ]));
        }

        // Rotation classes
        switch ($this->rotation) {
            case 90:
                $classes = $classes->append(ArrayList::of(['fa-rotate-90']));
                break;
            case 180:
                $classes = $classes->append(ArrayList::of(['fa-rotate-180']));
                break;
            case 270:
                $classes = $classes->append(ArrayList::of(['fa-rotate-270']));
                break;
        }

        // Flip classes
        switch ($this->flip) {
            case 'horizontal':
                $classes = $classes->append(ArrayList::of([
                    'fa-flip-horizontal'
                ]));
                break;
            case 'vertical':
                $classes = $classes->append(ArrayList::of([
                    'fa-flip-horizontal'
                ]));
                break;
        }

        return (new Italic([
            'class' => $classes->join(' '),
        ]))->render();
    }
720255
public function render() {
	
		$ret  = '<textarea ' . $this->getNameProperty();
		$ret .= ' rows="' . $this->rows . '" cols="' . $this->cols . '"';
		$ret .= $this->processProperties() . '>';
		$ret .= htmlspecialchars($this->value) . '</textarea>';
	
		return $ret;
	
	}
1241122
public function render()
    {
        $nameAttribute = $this->getName();
        $this->registerFieldNameForFormTokenGeneration($nameAttribute);

        $output = '';
        $resource = $this->getUploadedResource();
        if ($resource !== null) {
            $resourceIdentityAttribute = '';
            if ($this->hasArgument('id')) {
                $resourceIdentityAttribute = ' id="' . htmlspecialchars($this->arguments['id']) . '-resource-identity"';
            }
            $output .= '<input type="hidden" name="'. htmlspecialchars($nameAttribute) . '[originallySubmittedResource][__identity]" value="' . $this->persistenceManager->getIdentifierByObject($resource) . '"' . $resourceIdentityAttribute . ' />';
        }

        if ($this->hasArgument('collection') && $this->arguments['collection'] !== false && $this->arguments['collection'] !== '') {
            $output .= '<input type="hidden" name="'. htmlspecialchars($nameAttribute) . '[__collectionName]" value="' . htmlspecialchars($this->arguments['collection']) . '" />';
        }

        $this->tag->addAttribute('type', 'file');
        $this->tag->addAttribute('name', $nameAttribute);

        $this->addAdditionalIdentityPropertiesIfNeeded();
        $this->setErrorClassAttribute();

        $output .= $this->tag->render();
        return $output;
    }
216109
public function render(): string
    {
        $return = '';

        $this->tokens();

        foreach ($this->tokens as $token) {
            $return .= $token;
        }

        $return .= $this->escape($this->insert);

        foreach (array_reverse($this->tokens) as $token) {
            $return .= $token;
        }

        return $return;
    }
829386
private function render() {
		$strings = implode($this->strings);
		
		// Render includes
		foreach ($this->incTemplates as $path => $include) {
			$incOutput = $include->render();
			$path = preg_replace("/\//", "\/", $path);
			$strings = preg_replace("/\{include\s$path\}/", $incOutput, $strings);
		}
		
		// Render if-statements
		foreach ($this->ifTemplates as $key => $sub) {
			foreach ($sub as $iKey => $instance) {
				$str = '';
				
				if ($this->expressions[$key]->evaluate($this->vars)) {
					$str = $instance->render();
				}
				
				$pregKey = preg_quote($key, '/');
				$strings = preg_replace("/\{if:$pregKey:$iKey\}/", $str, $strings);
			}
		}
		
		// Render foreach-loops
		foreach ($this->forTemplates as $key => $sub) {
			foreach ($sub as $iKey => $instance) {
				$tmplGen = '';
				
				if (isset($this->vars[$key]) && is_array($this->vars[$key])) {
					foreach ($this->vars[$key] as $assocArray) {
						foreach ($assocArray as $k => $v)
							$instance->set($k, $v);
						$tmplGen .= $instance->render();
					}
				}
				
				$pregKey = preg_quote($key, '/');
				$strings = preg_replace("/\{for:$pregKey:$iKey\}/", $tmplGen, $strings);
			}
		}
		
		// Render plain old variables
		foreach ($this->vars as $key => $val) {
			if (!is_array($val))
				$strings = preg_replace("/\{$key\}/", $val, $strings);
		}
		
		// Render expressions
		foreach ($this->expressions as $key => $expr) {
			$eval = $expr->evaluate($this->vars);

			// If we're an array, lets insert the number of items in the array.
			if ( is_array( $eval ) ) {
				$eval = count( $eval );
			}

			$pregKey = preg_quote($key, '/');
			
			$strings = preg_replace('/\{'.$pregKey.'\}/', $eval, $strings);
		}
		
		$strings = preg_replace("/\\\{/", '{', $strings);
		$strings = preg_replace("/\\\}/", '}', $strings);

		return $strings;
	}
886445
public function render()
    {
        $out = '';
        foreach ($this->getData() as $row) {
            $this->injectData($row);
            $out .= parent::render();
        }
        return $out;
    }
408621
public function render()
    {
        $output = '';

        foreach ($this->items as $message) {
            $output .= $message->render();
        }

        return $output;
    }
590674
public function render()
	{
		$buffer	= '';
		foreach( $this->list as $content )
			$buffer	.= $this->renderInner( $content );
		return $buffer;
	}
1217442
public function render()
    {
        $result = '<form method="' . $this->getMethod() . '" action="' . $this->getAction() . '">' . "\r\n";

        $result .= $this->renderFields();

        $result .= '</form>' . "\r\n";

        return $result;
    }
792000
protected function renderObjects()
    {
        $clusterString = '';

        foreach ($this->objects as $ns => $objects) {
            $undeclared = false;
            if (!empty($ns)) {
                $clusterString .= $this->formatLine('namespace ' . str_replace('\\', '.', $ns) . ' %fillcolor% {');
            }
            foreach ($objects as $shortName => $values) {
                $clusterString .= $values['pre'];
                if ($values['undeclared']) {
                    $undeclared = true;
                }
            }

            if (!empty($ns)) {
                if ($undeclared) {
                    // set background-color of undeclared namespace elements
                    $clusterString = str_replace('%fillcolor%', '#EB937F', $clusterString);
                } else {
                    $clusterString = str_replace('%fillcolor%', '', $clusterString);
                }

                $clusterString .= $this->formatLine('}');
            }
        }
        return $clusterString;
    }
782007
public function render(){
		if (!$this->init_flag){
			$this->init_flag=true;
			return "";
		}
		$res = $this->sql->get_variants($this->config->text[0]["db_name"],$this->request);
		return $this->render_set($res);
	}
1014352
public function render()
        {
            // If the content is a stringable object, we'll go ahead and call
            // the toString method so that we can get the string content of
            // the content object. Otherwise we'll just cast to string.
            if (str_object($this->content)) {
                $this->content = $this->content->__toString();
            } else {
                $this->content = (string) $this->content;
            }

            // Once we obtain the string content, we can set the content on
            // the HttpFoundation's Response instance in preparation for
            // sending it back to client browser when all is finished.
            $this->foundation->setContent($this->content);

            return $this->content;
        }
319651
final function Render()
    {
        $this->output = '';
        $this->ReadTranslations();
        if ($this->BeforeInit())
        {
            return $this->output;
        }
        if ($this->Init())
        {
            return $this->output;
        }
        if ($this->BeforeGather())
        {
            return $this->output;
        }
        $this->GatherOutput();
        $this->AfterGather();
        return $this->output;        
    }
1006751
public function render()
    {
        $lines = [];

        for ($i = 0; $i < $this->numbers; $i++) {
            $lines[ $i ] = $this->color->paint(str_repeat($this->string, $this->width));
        }

        return str_repeat(PHP_EOL, $this->newLinesBefore) . implode(PHP_EOL, $lines) . str_repeat(PHP_EOL,
                $this->newLinesAfter);
    }
1112771
public function render()
    {
        $renderedChildren = $this->renderChildren();
        $encoding = mb_detect_encoding($renderedChildren);

        return mb_strtoupper($renderedChildren, $encoding);
    }
253567
public function render()
    {

        $attr = [];

        foreach($this->attributes as $k => $v) {
            $attr[] = sprintf('%s="%s"', $k, $v);
        }

        return sprintf('<label %s>%s</label>',
            implode(' ', $attr),
            trim($this->labelText)
        );

    }
119052
public function render()
    {
        $returnValue = (string) '';

        
        
        if(file_exists($this->path) && is_readable($this->path)){
        	
	        extract($this->variables);
	      
	        ob_start();
	        
	        common_Logger::i('including \''.$this->path.'\' into form', array('TAO'));
	        
	       include $this->path;
	        
	        $returnValue = ob_get_contents();
	        
	        ob_end_clean();
	        
	        //clean the extracted variables
	        foreach($this->variables as $key => $name){
	        	unset($$key);
	        }
        	
        }
        
        

        return (string) $returnValue;
    }