- deleted test plugin
- added FML Library
This commit is contained in:
		
							
								
								
									
										26
									
								
								application/FML/Elements/Format.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								application/FML/Elements/Format.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| <?php | ||||
|  | ||||
| namespace FML\Elements; | ||||
|  | ||||
| /** | ||||
|  * Class representing a format | ||||
|  * | ||||
|  * @author steeffeen | ||||
|  */ | ||||
| class Format implements BgColorable, Renderable, Styleable, TextFormatable { | ||||
| 	/** | ||||
| 	 * Protected properties | ||||
| 	 */ | ||||
| 	protected $tagName = 'format'; | ||||
|  | ||||
| 	/** | ||||
| 	 * | ||||
| 	 * @see \FML\Renderable::render() | ||||
| 	 */ | ||||
| 	public function render(\DOMDocument $domDocument) { | ||||
| 		$xml = $domDocument->createElement($this->tagName); | ||||
| 		return $xml; | ||||
| 	} | ||||
| } | ||||
|  | ||||
| ?> | ||||
		Reference in New Issue
	
	Block a user