Jet\UI_Renderer_Pair

A general abstract class of renderers of paired (having a beginning and end) UI elements, which inherits from the Jet\UI_Renderer class.

Overview of methods

Method Meaning of
public getViewScriptStart(
) : string
Returns the name of the view script to display the beginning of the element.
public setViewScriptStart(
string $view_script_start
) : static
Allows to set an optional name view of the script to display the beginning of the element.

Each element sets a default value in the constructor according to system settings. So you don't need to use the method, but you can use it if you want a specific display for a specific element.
public getViewScriptEnd(
) : string
Returns the name of the view script to display the end of the element.
public setViewScriptEnd(
string $view_script_end
) : static
Allows to set an optional view script name to display the end of the element.

Each element sets a default value in the constructor according to system settings. So you don't need to use the method, but you can use it if you want a specific display for a specific element.
public start(
) : string
Generates the HTML code for the beginning of the element based on the current settings.
public end(
) : string
Generates the HTML code for the end of the element based on the current settings.
Previous chapter
Jet\UI_Renderer_Single
Next chapter
Jet\UI_badge