\KnowledgeBasePage
Base class from which all knowledgebase pages are extended
Synopsis
class KnowledgeBasePage
extends Page
{
- // members
- public static string $default_article_order = '';
- public static string $default_category_order = '';
- private static array $db = ;
- // methods
- public void canCreate()
- public null getKnowledgeBaseID()
- public void getKnowledgeBase()
- public DataObjectSet ChildCategories()
- public void AllCategories()
- public DataObjectSet SubCategories()
- public DataObjectSet ChildArticles()
- public DataObjectSet SubArticles()
- public string getChildTreeFilter()
- protected void updateChildTreePositions()
- protected void updateTreePosition()
- public void onBeforeWrite()
- public void onAfterWrite()
- public void onAfterPublish()
Hierarchy
Extends
- Page
Members
private
- $db
public
- $default_article_order
- $default_category_order
Methods
protected
- updateChildTreePositions() — Recursively updates the tree position for child pages after a save
- updateTreePosition() — Updates the TreePosition field for this node
public
- AllCategories()
- ChildArticles() — Retrieves all articles that are a direct descendant of this
- ChildCategories() — Retrieves all categories that are a direct descendant
- SubArticles() — Retrieves all descendant articles
- SubCategories() — Retrieves all descendant categories
- canCreate()
- getChildTreeFilter() — Determines the treeposition that children of this node should use for quick filtering by ancestry
- getKnowledgeBase() — Determines the current knowledgebase for this page
- getKnowledgeBaseID() — Extracts ID of the current knowledge base
- onAfterPublish()
- onAfterWrite()
- onBeforeWrite()