Class: Chapter
Source Location: /blogs/inc/chapters/model/_chapter.class.php
Class Chapter
Class Overview
|
Chapter Class Located in /blogs/inc/chapters/model/_chapter.class.php [line 37] DataObject | --GenericElement | --GenericCategory | --ChapterAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From GenericCategory Inherited From GenericElement Inherited From DataObject |
Inherited From GenericCategory
Inherited From GenericElement
Inherited From DataObject
|
[ Top ]
Property Summary
Method Summary
| static void | urlname_exists() | |
| Chapter | Chapter() | Constructor |
| boolean | dbinsert() | Insert object into DB based on previously recorded changes. |
| Blog | &get_Blog() | Get the Blog object for the Chapter. |
| void | &get_parent_Chapter() | |
| void | get_permanent_url() | Generate the URL to access the category. |
| void | get_url_path() | Get URL path (made of URL names) back to the root |
| void | load_Blog() | Load the Blog object for the Chapter, without returning it. |
| boolean | load_from_request() | Load data from Request form fields. |
[ Top ]
Properties
Methods
static method urlname_exists [line 117]
|
| $urlname: | ||
| $ignore_ID: |
[ Top ]
Constructor Chapter [line 64]
|
Constructor
Parameters:| table | $db_row: | Database row |
| integer|NULL | $subset_ID: | subset to use for new object |
[ Top ]
dbinsert [line 276]
|
Insert object into DB based on previously recorded changes.
API Tags:
| Return: | true on success |
Redefinition of:
- DataObject::dbinsert()
- Insert object into DB based on previously recorded changes.
[ Top ]
get_permanent_url [line 174]
|
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 |
[ Top ]
get_url_path [line 151]
|
Get URL path (made of URL names) back to the root
[ Top ]
load_Blog [line 261]
|
Load the Blog object for the Chapter, without returning it.
[ Top ]
load_from_request [line 86]
|
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.
[ Top ]
