huge fml update
This commit is contained in:
		@@ -16,6 +16,28 @@ class Including implements Renderable {
 | 
			
		||||
	protected $tagName = 'include';
 | 
			
		||||
	protected $url = '';
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Construct a new Include Element
 | 
			
		||||
	 *
 | 
			
		||||
	 * @param string $url (optional) Include Url
 | 
			
		||||
	 * @return \FML\Elements\Including
 | 
			
		||||
	 */
 | 
			
		||||
	public static function create($url = null) {
 | 
			
		||||
		$including = new Including($url);
 | 
			
		||||
		return $including;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Construct a new Include Element
 | 
			
		||||
	 *
 | 
			
		||||
	 * @param string $url (optional) Include Url
 | 
			
		||||
	 */
 | 
			
		||||
	public function __construct($url = null) {
 | 
			
		||||
		if ($url !== null) {
 | 
			
		||||
			$this->setUrl($url);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Set Url
 | 
			
		||||
	 *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user