Dotclear 2.24
Loading...
Searching...
No Matches
adminPage Class Reference

Static Public Member Functions

static init ()
 
static process ()
 
static render ()
 

Static Protected Member Functions

static isContributionAllowed ($id, $dt, bool $com=true)
 
static showComments ($rs, bool $has_action)
 

Member Function Documentation

◆ init()

◆ process()

static process ( )
static

Processes the request(s).

References dcCore\app(), dcBlog\POST_TABLE_NAME, http\redirect(), and dt\setTZ().

◆ render()

◆ isContributionAllowed()

static isContributionAllowed (   $id,
  $dt,
bool  $com = true 
)
staticprotected

Determines if contribution is allowed.

Parameters
mixed$idThe identifier
mixed$dtThe date
bool$comIt is comment?
Returns
bool True if contribution allowed, False otherwise.

References dcCore\app().

◆ showComments()

static showComments (   $rs,
bool  $has_action 
)
staticprotected

Shows the comments or trackbacks.

Parameters
mixed$rsRecordset
bool$has_actionIndicates if action is available

References dcCore\app(), form\checkbox(), dcBlog\COMMENT_PUBLISHED, and dt\dt2str().

Referenced by render().


The documentation for this class was generated from the following file: