public static function view($fileName)
	{
		//explode the view files name into array
        $array = explode("/", $fileName);

        if(count($array) == 1) $array = explode('.',$fileName);

		return Registry::getConfig()['root'] . DIRECTORY_SEPARATOR . 'application' . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR . join(DIRECTORY_SEPARATOR, $array) . '.glade.php';

	}