Function CMS_Topic->set_level_has_adjacent_sibling

Definitions

sources/topics.php

  • Sets a level_has_adjacent_sibling property on posts, which is a single-dimensional array.with a boolean value for every parent post and the post itself containing whether it has an adjacent sibling.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$posts array required parameter N/A N/A An array of posts
$level_has_adjacent_sibling array [] N/A N/A For internal use only