ePages 6.11.0 - DE_EPAGES/Forum/API/Object/ForumPost.pm

Package DE_EPAGES::Forum::API::Object::ForumPost

object interface for ForumPost.

Base
DE_EPAGES::Object::API::Object::Object

Functions

className
dbPackage
template

className

Returns the class name, used for DAL access.

Syntax
$ClassName = $ForumPost->className;
Return
$ClassName (String)
class name

dbPackage

Returns the database package, used for DAL access.

Syntax
$DbPackage = $ForumPost->dbPackage;
Return
$DbPackage (String)
database package name

template

This function is used to overwrite the given template for the purpose that each content object can defined there own template (visualisation). Manipulates the template name of a ForumPost that it matches to Layout of the parent Forum.

Syntax
$Name = $Object->template($Name, $ObjectPageType);
Input
$Name (string)
include name
$ObjectPageType (DE_EPAGES::Presentation::API::Object::ObjectPageType)
object related pagetype
Return
$Name (string)
include name