Location: PHPKode > projects > OpenRat CMS > openrat/textClasses/EmphaticElement.class.php
<?php

/**
 * @author $Author$
 * @version $Revision$
 * @package openrat.text
 */
class EmphaticElement extends AbstractElement
{
	function render( $type )
	{
		switch( $type )
		{
			case 'html':
				return '<p>'.$this->value.'</p>';
			default:
				return $this->value;
		}
	}
}

?>
Return current item: OpenRat CMS