|
@@ -661,7 +661,7 @@ discard block |
|
|
block discarded – undo |
|
661
|
661
|
* @param boolean $unlinked Whether to link page titles. |
|
662
|
662
|
* @param boolean|string $stopAtPageType ClassName of a page to stop the upwards traversal. |
|
663
|
663
|
* @param boolean $showHidden Include pages marked with the attribute ShowInMenus = 0 |
|
664
|
|
- * @return HTMLText The breadcrumb trail. |
|
|
664
|
+ * @return SilverStripe\Model\FieldType\DBField The breadcrumb trail. |
|
665
|
665
|
*/ |
|
666
|
666
|
public function Breadcrumbs($maxDepth = 20, $unlinked = false, $stopAtPageType = false, $showHidden = false) { |
|
667
|
667
|
$pages = $this->getBreadcrumbItems($maxDepth, $stopAtPageType, $showHidden); |
|
@@ -1198,7 +1198,7 @@ discard block |
|
|
block discarded – undo |
|
1198
|
1198
|
/** |
|
1199
|
1199
|
* Get the 'can edit' information for a number of SiteTree pages. |
|
1200
|
1200
|
* |
|
1201
|
|
- * @param array $ids An array of IDs of the SiteTree pages to look up |
|
|
1201
|
+ * @param integer[] $ids An array of IDs of the SiteTree pages to look up |
|
1202
|
1202
|
* @param int $memberID ID of member |
|
1203
|
1203
|
* @param bool $useCached Return values from the permission cache if they exist |
|
1204
|
1204
|
* @return array |
|
@@ -1271,7 +1271,7 @@ discard block |
|
|
block discarded – undo |
|
1271
|
1271
|
* |
|
1272
|
1272
|
* @param string $condition The PHP condition to be evaluated. The page will be called $item |
|
1273
|
1273
|
* @param array $collator An array, passed by reference, to collect all of the matching descendants. |
|
1274
|
|
- * @return bool |
|
|
1274
|
+ * @return boolean|null |
|
1275
|
1275
|
*/ |
|
1276
|
1276
|
public function collateDescendants($condition, &$collator) { |
|
1277
|
1277
|
if($children = $this->Children()) { |