HtmlFormat.php
126 * @param $name The name of input field in the format value-`language`-`name`-`oid`, where name is the name
128 * @return An associative array with keys 'oid', 'language', 'name' or null if the name is not valid
157 $viewTpl = $response->getProperty('html_tpl_file') !== null ? $response->getProperty('html_tpl_file') :
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:18
isCached(Response $response)
Definition: HtmlFormat.php:54
HtmlFormat implements the HTML request/response format.
Definition: HtmlFormat.php:39
StringUtil provides support for string manipulation.
Definition: StringUtil.php:18
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
ConfigurationException signals an exception in the configuration.
Definition: ConfigurationException.php:18
static getValueDefFromInputControlName($name)
Get the object value definition from a HTML input field name.
Definition: HtmlFormat.php:130
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:135
static escapeForRegex($string)
Escape characters of a string for use in a regular expression Code from http://php....
Definition: StringUtil.php:384
getTemplateFile(Response $response)
Get the template file for the given response.
Definition: HtmlFormat.php:152
getCacheDate(Response $response)
Definition: HtmlFormat.php:66
getMimeType(Response $response=null)
Definition: HtmlFormat.php:47
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
getCacheLifetime()
Get the lifetime of a cached response.
serializeValues(Response $response)
Definition: HtmlFormat.php:107
deserializeValues(Request $request)
Definition: HtmlFormat.php:78
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
AbstractFormat is used as base class for specialized formats.
Definition: AbstractFormat.php:27