Function __global->_get_zone_pages

Definitions

sources/setupwizard.php

  • Get Comcode for the pages in the zone.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$installprofileblocks array No No required parameter N/A N/A List of blocks in the install profile
$block_options ?array No No required parameter N/A N/A Block options in the install profile (null: none)
$collapse_zones boolean No No required parameter N/A N/A Whether we have zone collapsing on
$installprofile ID_TEXT No No required parameter N/A N/A ID of the install profile

Returns

  • Structure of pages
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get Comcode for the pages in the zone.
 *
 * @param  array $installprofileblocks List of blocks in the install profile
 * @param  ?array $block_options Block options in the install profile (null: none)
 * @param  boolean $collapse_zones Whether we have zone collapsing on
 * @param  ID_TEXT $installprofile ID of the install profile
 * @return array Structure of pages
 */

function _get_zone_pages(array $installprofileblocks, ?array $block_options, bool $collapse_zones, string $installprofile) : array