The purpose of a URLWriter is to generate URLs from contextual data. This data would be the current/target module and action, any contextual name=value pairs specified by the code, and any additional query data.
Located in /harmoni/core/architecture/request/URLWriter.abstract.php (line 16)
SObject | --URLWriter
Class | Description |
---|---|
GETMethodURLWriter | The purpose of a URLWriter is to generate URLs from contextual data. This data would be the current/target module and action, any contextual name=value pairs specified by the code, and any additional query data. |
PathInfoURLWriter | The purpose of a URLWriter is to generate URLs from contextual data. This data would be the current/target module and action, any contextual name=value pairs specified by the code, and any additional query data. |
Takes an associative array of name/value pairs and sets the internal data to those values. The method is used internally by the RequestContext only and should not be called otherwise.
Calls RequestContext::locationHeader with this URL.
Sets the module and action to request in this URL.
Sets a single value in the internal data.
Takes an associative array of name/value pairs and sets the internal data to those values, replacing any values that already exist.
The following function has many forms, and due to PHP's lack of
method overloading they are all contained within the same class method. Any keys/names for paremeters should be translated into their contextual equivalents by contacting the RequestContext object.
write() write(array $vars) write(string $key1, string $value1, [string $key2, string $value2, [...]])
Inherited From SObject
SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()
Documentation generated on Wed, 19 Sep 2007 10:27:38 -0400 by phpDocumentor 1.3.0RC3