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

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

object interface for ForumPost.

Base
DE_EPAGES::Shop::API::Object::ShopObject

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 so that it matches the layout of the parent Forum.

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