PortalWidget
extends PropertyRecord
in package
Tags
Table of Contents
- $data : mixed
- $format : mixed
- __construct() : mixed
- Overwrites the record constructor to define a special handling for a specific portal parameter.
- defineInterfaces() : void
- Enter description here .
- getAPI() : CSPortalWidget
- Enter description here .
- getEditorValue() : mixed
- Enter description here .
- getTranslateableKeys() : mixed
- getValue() : mixed
- Enter description here .
- prepareRowBeforeBackup() : mixed
- Enter description here .
Properties
$data
public
mixed
$data
= array('PortalWidgetID' => 0, 'PortalTabID' => 0, 'OwnerID' => 0, 'BasedOnID' => 0, 'Col' => 0, 'Title' => '', 'SortOrder' => 0, 'UwaUrl' => '', 'Provider' => '', 'Height' => '100%', 'LastHeight' => 0, 'CreationDate' => '', 'Creator' => '', 'MetaKeywords' => "", 'MetaDescription' => "", 'IsShared' => 0, 'Color' => '')
Tags
$format
public
mixed
$format
= array('PortalWidgetID' => "BIGINT NOT NULL auto_increment, PRIMARY KEY (PortalWidgetID)", 'PortalTabID' => "BIGINT DEFAULT '0' NOT NULL", 'OwnerID' => "BIGINT", 'BasedOnID' => "BIGINT", 'Col' => "BIGINT DEFAULT '0' NOT NULL", 'Title' => "varchar(64)", 'SortOrder' => "BIGINT", 'UwaUrl' => "Text", 'Provider' => "varchar(64)", 'Height' => "varchar(4)", 'LastHeight' => "BIGINT", 'CreationDate' => "DateTime", 'Creator' => "varchar(64)", 'MetaKeywords' => "varchar(255)", 'MetaDescription' => "Text", 'IsShared' => "SMALLINT", 'Color' => "varchar(16)")
Tags
Methods
__construct()
Overwrites the record constructor to define a special handling for a specific portal parameter.
public
__construct([string $ID = "" ]) : mixed
The portal parameter "csWidgetStudioType" allows to initialize a studio widget without any existing database entry.
Parameters
- $ID : string = ""
Tags
Return values
mixed —defineInterfaces()
Enter description here .
public
defineInterfaces() : void
..
Tags
Return values
void —getAPI()
Enter description here .
public
getAPI() : CSPortalWidget
..
Tags
Return values
CSPortalWidget —getEditorValue()
Enter description here .
public
getEditorValue(string $name) : mixed
..
Parameters
- $name : string
Tags
Return values
mixed —getTranslateableKeys()
public
getTranslateableKeys() : mixed
Tags
Return values
mixed —getValue()
Enter description here .
public
getValue(string $key) : mixed
..
Parameters
- $key : string
Tags
Return values
mixed —prepareRowBeforeBackup()
Enter description here .
public
prepareRowBeforeBackup(mixed $row) : mixed
..
Parameters
- $row : mixed
