class EditPage extends Page

Class EditPage

Constants

ACTION_EDIT_CATEGORY

ACTION_EDIT_THREAD

ACTION_EDIT_POST

Properties

ForumController $mod
protected $default_page from  Page

Methods

getPostFormForThread(Post $post, Thread $thread, bool $new = false)

No description

xelos_global_template|string|bool
get_page(null|string $type = null, null|int|string $id = null)

No description

page_edit_category(int|string|null $id, $new)

No description

page_edit_post(int|string|null $id)

No description

page_edit_thread(int|string|null $threadId, bool|int $categoryId = false)

No description

Details

at line 521
Form getPostFormForThread(Post $post, Thread $thread, bool $new = false)

No description

Parameters

Post $post
Thread $thread
bool $new

Return Value

Form

at line 37
xelos_global_template|string|bool get_page(null|string $type = null, null|int|string $id = null)

No description

Parameters

null|string $type
null|int|string $id

Return Value

xelos_global_template|string|bool

Exceptions

ContentException
Exception

at line 66
Template page_edit_category(int|string|null $id, $new)

No description

Parameters

int|string|null $id
$new

Return Value

Template

Exceptions

ContentException
Exception

at line 469
Template page_edit_post(int|string|null $id)

No description

Parameters

int|string|null $id

$new is not use in the current context

Return Value

Template

Exceptions

ContentException

at line 210
Template page_edit_thread(int|string|null $threadId, bool|int $categoryId = false)

No description

Parameters

int|string|null $threadId

the id of the thread you want to edit

bool|int $categoryId

the category for new threads

Return Value

Template

Exceptions

Exception
ContentException