boolean displayPortlet(
)
|
|
OPTIONAL TO BE OVERWRITEN!
Return if this Portlet should be displayed or not.
You might use this to display stateful Portlets, like a Login, that should only be diplayed to Anonymous User.
Default returns
true
.
API Tags:
| Return: | whether this Portlet should be displayed or not |
Redefined in descendants as:
Gets all configured Portlet Parameter.
Make sure this method always returns all possible Values, cause they are used for the dynamic Portlet Configuration.
API Tags:
| Return: | an Array with all avialable Key-Value Parameter |
REQIURED TO BE OVERWRITEN!
Return the HTML snippet that this Portlet represents.
API Tags:
| Return: | the HTML that should be displayed |
Redefined in descendants as:
Get the Identifier for this Portlet.
API Tags:
| Return: | the Unique Identifier for this Portlet |
Redefined in descendants as:
OPTIONAL TO BE OVERWRITEN!
Overwrite if your Portlet needs a Javascript snippet to work.
API Tags:
| Return: | the Javascript for this Portlet |
Redefined in descendants as:
mixed getParameter(
$key, [
$fallback = '']
)
|
|
Gets a Portlet Parameter.
Parameters:
API Tags:
| Return: | the Value for the Key or the Fallback |
String getParameterName(
$key
)
|
|
Returns the Name of the given Parameter.
The Name will be used in Administration Masks to increase the usability for End User.
Parameters:
API Tags:
| Return: | the Name for the given Parameter |
Redefined in descendants as:
mixed getParameterType(
$key
)
|
|
REQIURED TO BE OVERWRITEN!
Returns the PortletType for the given Key.
Your implementation should use a switch to return proper PortletType.
The default implementation returns
.
Parameters:
API Tags:
| Return: | one of the available Portlet Types |
Redefined in descendants as:
REQIURED TO BE OVERWRITEN!
Return the Title for this Portlet.
API Tags:
| Return: | the Title for this Portlet |
Redefined in descendants as:
boolean needsJavascript(
)
|
|
OPTIONAL TO BE OVERWRITEN!
This method defines if the Portlet needs a Javascript block to work.
The default implementation checks if
returns a String with length greater than zero.
API Tags:
| Return: | whether this Portlet needs some Javascript to work |
Redefined in descendants as:
void setParameter(
$key,
$value
)
|
|
Sets a Portlet Parameter.
Parameters: