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

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

?>
Return current item: OpenRat CMS