diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
updateModelFromRenderViewFormat
diamond
views
viewformats
Undocumented in source.
static if
(
isWebServer || !isWeb
)
enum
updateModelFromRenderViewFormat
=
q{
protected
override
void
copyViewData
() {
auto
rView
=
cast
(
view_
%
s
)
renderView
;
if
(
rView
) {
this
.
model
=
rView.model
; }
super
.
copyViewData
(); }
}
;
Meta
Source
See Source File
diamond
views
viewformats
manifest constants
appendFormat
controllerConstructorFormat
controllerHandleFormat
controllerMemberFormat
endFormat
escapedFormat
layoutConstructorFormat
modelGenerateFormat
modelMemberFormat
placeholderFormat
updateModelFromRenderViewFormat
viewClassFormat