API documentation :: Docs For Class arbitViewJsonHandler
Packages:Interfaces:
Classes:
|
Core::View::arbitViewJsonHandlerClass arbitViewJsonHandlerJSON view handler generating JSON from the provided view model. JSON view handler generating JSON from the provided view model. arbitViewHandler | --arbitViewJsonHandlerAuthor(s):
Inherited Member Variables
Method Summary
Inherited Methods
MethodsaddContextInformation
arbitDecorateable
addContextInformation(
arbitDecorateable
$model
)
Enriches view model with common context information Enriches view model with common context information Parameters:
display
string
display(
arbitDecorateable
$output
)
Display controller result Select the view, which should be used to display the controller results, process and return the view results. Display controller result Select the view, which should be used to display the controller results, process and return the view results. Parameters:
Redefinition of:
setLocale
void
setLocale(
string
$locale
)
Set view locale Set the view locale to the given locale string. Set view locale Set the view locale to the given locale string. Parameters:
Redefinition of:
showDefaultModel
string
showDefaultModel(
arbitDecorateable
$model
)
Show default model Display an arbitrary model with some default view. Show default model Display an arbitrary model with some default view. Parameters:
showError
string
showError(
arbitViewErrorContextModel
$model
)
Show default model Display an arbitrary model with some default view. Show default model Display an arbitrary model with some default view. Parameters:
showUser
string
showUser(
arbitViewUserModel
$model
)
Show user model Special display handler for user models, to not reveal to much data about the user inside the JSON. Show user model Special display handler for user models, to not reveal to much data about the user inside the JSON. Parameters:
transformArray
DOMNode
transformArray(
$array
)
Return JSON representation of PHP array Return JSON representation of PHP array Parameters:
transformValue
DOMNode
transformValue(
mixed
$value
)
Return JSON representation of some PHP value Return JSON representation of some PHP value Parameters:
Documentation generated on Mon, 05 Apr 2010 14:02:01 +0200 by phpDocumentor 1.4.3
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||