Class Subpanel
A subpanel refers to a public panel, and can be provided to a dynamic page in order to
retrieve content from several panels at once without having to predefine a zone.
Each subpanel must have a unique name within a dynamic page.
Methods summary
public static
Apptus\ESales\Connector\Subpanel
|
#
create( name $name, publicPanel $publicPanel )
Creates a subpanel with a reference to a public panel. The subpanel can be supplied to a dynamic page.
Creates a subpanel with a reference to a public panel. The subpanel can be supplied to a dynamic page.
Parameters
- $name
name of this subpanel, defining the path shown in the result.
This name must be unique for each dynamic page it is provided to.
- $publicPanel
- path of the public panel.
Returns
|
public
Apptus\ESales\Connector\Subpanel
|
#
addArgument( name $name, value $value )
Adds an argument to the map of arguments for this subpanel,
where key is the parameter name, and value is the argument value.
Adds an argument to the map of arguments for this subpanel,
where key is the parameter name, and value is the argument value.
Parameters
- $name
- parameter name.
- $value
- argument value.
Returns
|
public
Apptus\ESales\Connector\Subpanel
|
#
addArguments( args $args )
Appends a map of arguments to the arguments of this subpanel. Any prior arguments with the same name
will be overriden.
Appends a map of arguments to the arguments of this subpanel. Any prior arguments with the same name
will be overriden.
These arguments will have precedence in any name collisions with the arguments provided
to a dynamic page with this subpanel.
Parameters
- $args
- map of arguments to the subpanel, where key is the parameter name, and value is the argument value.
Returns
|