phptemplate_regions

Versions
4.7 – 5
phptemplate_regions()

Declare the available regions implemented by this engine.

Return value

An array of regions. The first array element will be used as the default region for themes.

Code

themes/engines/phptemplate/phptemplate.engine, line 25

<?php
function phptemplate_regions() {
  return array(
       'left' => t('left sidebar'),
       'right' => t('right sidebar'),
       'content' => t('content'),
       'header' => t('header'),
       'footer' => t('footer')
  );
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.