mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Documentation
This commit is contained in:
parent
08a7bf0879
commit
63536af875
@ -1,10 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Basic data-object representing all pages within the site tree.
|
* 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
|
* This data-object takes care of the heirachy. All page types that live within the hierarchy should inherit from this.
|
||||||
* should inherit from this.
|
|
||||||
*
|
|
||||||
* In addition, it contains a number of static methods for querying the site tree.
|
* 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
|
* @package cms
|
||||||
*/
|
*/
|
||||||
class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvider,CMSPreviewable {
|
class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvider,CMSPreviewable {
|
||||||
|
Loading…
Reference in New Issue
Block a user