00001 <?php 00002 00008 class StrongElement extends AbstractElement 00009 { 00010 function render( $type ) 00011 { 00012 switch( $type ) 00013 { 00014 case 'html': 00015 return '<p>'.$this->value.'</p>'; 00016 default: 00017 return $this->value; 00018 } 00019 } 00020 00021 00022 00023 var $markup = array( 'beginswith' =>'*' , 00024 'endswith'=>'*' ); 00025 } 00026 00027 ?>
1.5.8