◆ init()
Initializes the page.
- Returns
- bool True if we should return
References dcCore\app(), dcPage\check(), html\clean(), text\cutString(), html\decodeEntities(), html\escapeHTML(), dcAdminCombos\getCategoriesCombo(), dcAdminCombos\getLangsCombo(), dcAdminCombos\getPostStatusesCombo(), dcAuth\PERMISSION_CONTENT_ADMIN, dcAuth\PERMISSION_PUBLISH, dcAuth\PERMISSION_USAGE, dcBlog\POST_PENDING, and dt\setTZ().
◆ process()
◆ render()
Renders the page.
References dcCore\app(), dcPage\breadcrumb(), http\browserUID(), form\checkbox(), html\clean(), dcPage\close(), form\combo(), form\datetime(), DC_MASTER_KEY, dt\dt2str(), form\email(), html\escapeHTML(), exit, form\field(), dcPage\helpBlock(), form\hidden(), dcPage\jsConfirmClose(), dcPage\jsLoad(), dcPage\jsMetaEditor(), dcPage\jsModal(), dcPage\jsPageTabs(), dcPage\message(), dcPage\open(), dcAuth\PERMISSION_CATEGORIES, dcBlog\POST_PENDING, dcBlog\POST_PUBLISHED, dcBlog\POST_SCHEDULED, dcBlog\POST_UNPUBLISHED, showComments(), dt\str(), dcPage\success(), and form\url().
◆ isContributionAllowed()
static isContributionAllowed |
( |
|
$id, |
|
|
|
$dt, |
|
|
bool |
$com = true |
|
) |
| |
|
staticprotected |
Controls comments or trakbacks capabilities
- Parameters
-
mixed | $id | The identifier |
mixed | $dt | The date |
bool | $com | The com |
- Returns
- bool True if contribution allowed, False otherwise.
References dcCore\app().
◆ showComments()
static showComments |
( |
dcRecord |
$rs, |
|
|
bool |
$has_action, |
|
|
bool |
$tb = false , |
|
|
bool |
$show_ip = true |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following file: