Package DE_EPAGES::Search::API::Object::SearchTerm
object interface for SearchTerm.
Base |
DE_EPAGES::Object::API::Object::DALObject |
Functions
className
Returns the class name, used for DAL access.
Syntax |
$ClassName = $SearchTerm->className; |
Return |
|
dbPackage
Returns the database package, used for DAL access.
Syntax |
$DbPackage = $SearchTerm->dbPackage; |
Return |
|
delete
Deletes this object, therefore the hook 'OBJ_DeleteSearchTerm' is triggered.
Syntax |
$SearchTerm->delete; |
Hook |
|
exportableAttributes
Returns all attribute values that have an existing (not-null) value. Unlike $Object->_attributes this function returns localized attribute values as hash reference (language id => value).
Syntax |
$hValues = $Object->exportableAttributes |
Example |
$Description = $Object->exportableAttributes; |
Return |
|
findXML
find searchterm form from an XML file.
Syntax |
$ObjectID = DE_EPAGES::Search::API::Object::SearchTerm->findXML($Handler, $hElement, $Class, $hAttributes); |
Input |
|
Return |
|
id
Returns the SearchTerm id.
Syntax |
$SearchTermID = $SearchTerm->id; |
Return |
|
importXML
Imports an object from an XML file. This function is called at the XML start tag.
Syntax |
$Object = DE_EPAGES::Search::API::Object::SearchTerm->importXML($Handler, $hElement, $Class, $hAttributes); |
Input |
|
Return |
|
insert
Insert this info as object, afterwards the hook 'OBJ_InsertSearchTerm' is triggered.
Syntax |
$SearchTerm = DE_EPAGES::Search::API::Object::SearchTerm->insert($hInfo); |
Example |
my $Class = LoadClassByAlias('SearchTerm'); my $SearchTerm = $Class->insertObject($hInfo); |
Input |
|
Return |
|
Hook |
|
primaryKey
Returns the name of the primary key.
Syntax |
$PrimaryKey = $SearchTerm->primaryKey; |
Return |
|
set
This function triggers hooks 'OBJ_BeforeUpdateSearchTerm' and 'OBJ_AfterUpdateSearchTerm'.
Syntax |
$SearchTerm->set($hValues, $LanguageID); |
Input |
|
Hook |
|