n2n Page Rocket 1 API

n2n\web\ui\view

­View

abstract View extends BufferedPayload implements UiComponent

All Implemented Interfaces:

SubTypes

Property summary

Modifier and Type Property
protected contentsBuildContext

Methods summary

Modifier and Type Method
public __construct ( string scriptPath , string name , Module module , N2nContext n2nContext )
public getParams ( )
public setParams ( array params )
public string getName ( )
public string getScriptPath ( )
public string getModuleNamespace ( )
public HttpContext getHttpContext ( )
public N2nContext getN2nContext ( )
public N2nLocale getN2nLocale ( )
public getRequest ( )
public setControllerContext ( ControllerContext controllerContext = null )
public hasControllerContext ( )
public ControllerContext getControllerContext ( )
public ControllerContext getControllerContextByName ( unknown name )
protected getStateObjs ( )
protected setStateObjs ( array stateObjs )
public getStateObj ( string refTypeName )
public setStateObj ( string refTypeName , unknown stateObj )
public boolean isInitialized ( )
public initialize ( View contentView = null , BuildContext buildContext = null )
public initializeFromCache ( string data )
public mixed toCacheData ( )
public build ( BuildContext buildContext )
public string getContents ( )
public setContents ( mixed contents )
public reset ( )
public SimpleBuildContext getContentsBuildContext ( )
public registerStateListener ( ViewStateListener stateListener )
public unregisterStateListener ( ViewStateListener stateListener )
protected boolean getContentView ( )
protected bufferContents ( array viewVars , Closure bufferingEnded = null )
public boolean isBuffering ( )
public getContentBuffer ( )
public getActiveBuffer ( )
protected ensureContentsAreInitialized ( )
protected ensureContentsAreNotInitialized ( )
protected ensureBufferIsActive ( )
protected ensureBufferIsNotActive ( )
public string getContentType ( )
protected OutputBuffer compile ( OutputBuffer contentBuffer , BuildContext buildContext )
public prepareForResponse ( Response response )
public toKownPayloadString ( )
public __toString ( )
public getBufferedContents ( )
public array getPanels ( )
public boolean hasPanel ( string panelName )
public Panel getOrCreatePanel ( string panelName )
public putPanel ( Panel panel )
public appendToPanel ( string panelName , UiComponent uiComponent )
public getParam ( unknown name , unknown required = true , unknown default = null )
public mergeParams ( array params = array )
public assert ( unknown e )
public Lookupable lookup ( ReflectionClass useableClassName )
public useTemplate ( string viewNameExpression , mixed params = null )
public panelStart ( string name , bool append = false )
public panelEnd ( )
public import ( unknown viewNameExpression , array params = null , ViewCacheControl viewCacheControl = null , Module module = null )
public getImport ( unknown viewNameExpression , mixed params = null , ViewCacheControl viewCacheControl = null , Module module = null )
protected createImportView ( string viewNameExpression , array params = null , ViewCacheControl viewCacheControl = null , Module module = null )
public importContentView ( )
public importPanel ( string panelName )
public out ( UiComponent|string contents )
public getOut ( UiComponent|string contents )
public delayedOut ( UiComponent|string contents )
public Message [] getMessages ( string groupName = null , string severity = null , string translate = true )
public DynamicTextCollection getDynamicTextCollection ( )
public setDynamicTextCollection ( DynamicTextCollection dynamicTextCollection )
public string getL10nText ( unknown code , array args = null , unknown num = null , array replacements = null , unknown module = null )
public string getL10nCurrency ( float value , string currency = null )
public getL10nNumber ( unknown value , unknown style = \NumberFormatter )
public getL10nDate ( DateTime value = null , unknown dateStyle = null , DateTimeZone timeZone = null )
public getL10nTime ( DateTime value = null , unknown timeStyle = null , DateTimeZone timeZone = null )
public getL10nDateTime ( DateTime value = null , unknown dateStyle = null , unknown timeStyle = null , DateTimeZone timeZone = null )
public getL10nDateTimeFormat ( DateTime value = null , unknown icuPattern , DateTimeZone timeZone = null )
public buildUrl ( unknown murl , bool required = true )
public buildUrlStr ( unknown murl , bool required = true )
public static View view ( View view )
public static Request request ( View view )
public static Response response ( View view )
public static HttpContext httpContext ( View view )

Properties in detail

Methods in detail