|
@@ -680,7 +680,7 @@ discard block |
|
|
block discarded – undo |
|
680
|
680
|
* @param boolean $unlinked Whether to link page titles. |
|
681
|
681
|
* @param boolean|string $stopAtPageType ClassName of a page to stop the upwards traversal. |
|
682
|
682
|
* @param boolean $showHidden Include pages marked with the attribute ShowInMenus = 0 |
|
683
|
|
- * @return HTMLText The breadcrumb trail. |
|
|
683
|
+ * @return SilverStripe\Model\FieldType\DBField The breadcrumb trail. |
|
684
|
684
|
*/ |
|
685
|
685
|
public function Breadcrumbs($maxDepth = 20, $unlinked = false, $stopAtPageType = false, $showHidden = false) { |
|
686
|
686
|
$pages = $this->getBreadcrumbItems($maxDepth, $stopAtPageType, $showHidden); |
|
@@ -1313,7 +1313,7 @@ discard block |
|
|
block discarded – undo |
|
1313
|
1313
|
* |
|
1314
|
1314
|
* @param string $condition The PHP condition to be evaluated. The page will be called $item |
|
1315
|
1315
|
* @param array $collator An array, passed by reference, to collect all of the matching descendants. |
|
1316
|
|
- * @return bool |
|
|
1316
|
+ * @return boolean|null |
|
1317
|
1317
|
*/ |
|
1318
|
1318
|
public function collateDescendants($condition, &$collator) { |
|
1319
|
1319
|
if($children = $this->Children()) { |
Please login to merge, or discard this patch.