Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnomephp/mvc/router/UrlString.php
<?php
namespace gnomephp\mvc\router;

use \gnomephp\Url, \gnomephp\Configuration;


class UrlString{
	private $u;
	
	private $url;
	private $active = false;
	public function __construct($url){
		$this->u = new Url();
		
		$this->url = $this->u->link($url, (!Configuration::get('application', 'remove_php_script') ? 'index.php/' : null));
	}
	
	public function setActive($active){
		$this->active = $active;
		return $this;
	}
	
	public function getUrl(){
		
	}
	public function isActive(){
		return $this->active;
	}
	
	public function __toString(){
		return $this->url;
	}
}
Return current item: GnomePHP