* - $branch->title: A proper title for the branch. * - $branch->directories: The local included directories. * - $branch->excluded_directories: The local excluded directories. * * @ingroup themeable */ if (!empty($branch)) { $counts = api_listing_counts($branch); if ($counts['groups'] > 0) { ?> <h3><?php print l(t('Topics'), 'api/' . $branch->project . '/groups/' . $branch->branch_name); ?> </h3> <?php $out = api_page_listing($branch, 'group', FALSE); print drupal_render($out); } if ($counts['files'] > 0) { ?> <h3><?php print l(t('Files'), 'api/' . $branch->project . '/files/' . $branch->branch_name); ?> </h3> <?php } if ($counts['globals'] > 0) { ?> <h3><?php print l(t('Globals'), 'api/' . $branch->project . '/globals/' . $branch->branch_name); ?>
* The $branch contains: * - $branch->project: The machine name of the branch. * - $branch->title: A proper title for the branch. * - $branch->directories: The local included directories. * - $branch->excluded_directories: The local excluded directories. */ if (!empty($branch)) { $counts = api_listing_counts($branch); if ($counts['groups'] > 0) { ?> <h3><?php print l(t('Topics'), 'api/' . $branch->project . '/groups/' . $branch->branch_name); ?> </h3> <?php print api_page_listing($branch, 'group', FALSE); } if ($counts['files'] > 0) { ?> <h3><?php print l(t('Files'), 'api/' . $branch->project . '/files/' . $branch->branch_name); ?> </h3> <?php } if ($counts['globals'] > 0) { ?> <h3><?php print l(t('Globals'), 'api/' . $branch->project . '/globals/' . $branch->branch_name); ?> </h3>