Skip to content

Commit

Permalink
MINOR Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed May 8, 2012
1 parent 08a7bf0 commit 63536af
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions code/model/SiteTree.php
@@ -1,10 +1,16 @@
<?php
/**
* Basic data-object representing all pages within the site tree.
* This data-object takes care of the heirachy. All page types that live within the heirachy
* should inherit from this.
*
* This data-object takes care of the heirachy. All page types that live within the hierarchy should inherit from this.
* In addition, it contains a number of static methods for querying the site tree.
*
* <h2>URLs</h2>
* A page is identified during request handling via its "URLSegment" database column.
* As pages can be nested, the full path of a URL might contain multiple segments.
* Each segment is stored in its filtered representation (through {@link URLSegmentFilter}).
* The full path is constructed via {@link Link()}, {@link RelativeLink()} and {@link AbsoluteLink()}.
* You can allow these segments to contain multibyte characters through {@link URLSegmentFilter::$default_allow_multibyte}.
*
* @package cms
*/
class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvider,CMSPreviewable {
Expand Down

0 comments on commit 63536af

Please sign in to comment.