Chapter Chapter(
[table
$db_row = NULL], [integer|NULL
$subset_ID = NULL]
)
|
|
Constructor
Parameters:
|
table |
$db_row: |
Database row |
|
integer|NULL |
$subset_ID: |
subset to use for new object |
boolean dbinsert(
[boolean
$urlname_verbose_change = true]
)
|
|
Insert object into DB based on previously recorded changes.
Parameters:
|
boolean |
$urlname_verbose_change: |
Whether to notify the user when the url title has been changed. |
API Tags:
Redefinition of:
- DataObject::dbinsert()
- Insert object into DB based on previously recorded changes.
Update the DB based on previously recorded changes
API Tags:
Redefinition of:
- DataObject::dbupdate()
- Update the DB based on previously recorded changes
Get the Blog object for the Chapter.
void &get_parent_Chapter(
)
|
|
void get_permanent_url(
[string|NULL
$link_type = NULL], [string|NULL
$blogurl = NULL], [integer
$paged = 1], [integer|NULL
$chapter_posts_per_page = NULL], [string
$glue = '&']
)
|
|
Generate the URL to access the category.
Parameters:
|
string|NULL |
$link_type: |
'param_num', 'subchap', 'chapters' |
|
string|NULL |
$blogurl: |
url to use |
|
integer |
$paged: |
category page to link to, default:1 |
|
integer|NULL |
$chapter_posts_per_page: |
number of posts per page (used for param_num only) |
|
string |
$glue: |
glue between url params |
Get URL path (made of URL names) back to the root
Load the Blog object for the Chapter, without returning it.
boolean load_from_request(
)
|
|
Load data from Request form fields.
API Tags:
| Return: | true if loaded data seems valid. |
Redefinition of:
- GenericCategory::load_from_request()
- Load data from Request form fields.