dev.obliquid.com: general
[ class tree: general ] [ index: general ] [ all elements ]

Procedural File: url.php

Source Location: Program_Root/classes/general/url.php



Classes:

url


Page Details:

Class that abstracts URL; It can easily make URL's for dynamic scripts and also protects ur URL from "junk".

With the word 'junk' i mean the situation when u add same variables with different values on the different parts of the scripts.

Example of use: $action = new URL(); $action->addVal("form_submitted","1"); echo $action->Build(); This will print ur current URL with new variable called form_submitted and equal to 1. If u want link to the URL u can i.e. do this: $newspage = new URL(); $newspage->setXhtml(true); //outputs xhtml urls (disabled by default) $newspage->addVal("module","news"); echo $newspage->A();




Tags:

version:  $Id: url.php,v 1.11 2004/03/08 19:30:42 slocati Exp $
author:  Stefano Locati -- modifications
author:  Dmitry V. Sabanin sdmitry@lrn.ru








Documentation generated on Tue, 29 Mar 2005 09:04:44 -0800 by phpDocumentor 1.2.0rc2