Jet\Form_Renderer_Pair

A general abstract class of renderers of paired (having a start and end) form elements, which inherits from the Jet\Form_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 of the element for a specific form.
public getViewScriptEnd(
) : string
Returns the name of the view script to display the beginning of 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 of the element for a specific form.
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 setting.
Previous chapter
Jet\Form_Renderer_Single
Next chapter
Jet\Form_Renderer_Form