All constants that are used in the blog module are listed below.
Description for constants uses the term "object", which can be a blog, a post, comment and etc.
Constant |
Value |
Description |
Available from version |
BLOG_PERMS_DENY |
D |
Access is restricted to all blog objects. |
Before 5.0.1 |
BLOG_PERMS_READ |
I |
Read all objects. |
Before 5.0.1 |
BLOG_PERMS_PREMODERATE |
K |
Read of all objects and write your own hidden objects (pre-moderation). |
Before 5.0.1 |
BLOG_PERMS_WRITE |
P |
Read all objects and write your own objects. |
Before 5.0.1 |
BLOG_PERMS_MODERATE |
T |
Read all objects, write your own objects, as well as publish/hide all objects (moderation). |
Before 5.0.1 |
BLOG_PERMS_FULL |
W |
Read all objects, write all objects. |
Before 5.0.1 |
BLOG_PERMS_POST |
P |
Posts |
Before 5.0.1 |
BLOG_PERMS_COMMENT |
C |
Comments |
Before 5.0.1 |
BLOG_PUBLISH_STATUS_DRAFT |
D |
Status "Draft". It is visible only to the author or to the user with BLOG_PERMS_FULL access permissions. |
Before 5.0.1 |
BLOG_PUBLISH_STATUS_READY |
K |
Status "Pre-moderation". It is visible only to the author or to the user with BLOG_PERMS_MODERATE access permissions or higher. |
Before 5.0.1 |
BLOG_PUBLISH_STATUS_PUBLISH |
P |
Status "Published". It is visible to everybody, who has BLOG_PERMS_READ access permission. |
Before 5.0.1 |
BLOG_BY_USER_ID |
1 |
Used to perform search by the site user ID. |
Before 5.0.1 |
BLOG_BY_BLOG_USER_ID |
2 |
Used to perform search by the blog user ID. |
Before 5.0.1 |
BLOG_ADD |
1 |
Action - to add. |
Before 5.0.1 |
BLOG_CHANGE |
2 |
Action - modify. |
Before 5.0.1 |
BLOG_RESET |
3 |
Action - reset. |
Before 5.0.1 |
BX_MOBILE_LOG |
|
blogTextParser::convert_blog_user is being verified |
11.5.5 |
SITE_CHARSET |
|
CBlog::BuildRSS is being verified |
5.0.1 |
SITE_SERVER_NAME |
|
CBlog::BuildRSS is being verified |
5.0.1 |