Main Page   File List   File Members   Related Pages  

base_page.php File Reference

The core layout engine. More...

Go to the source code of this file.

Functions

 base_page_install ()
 Installs the base_page module.

 base_page_uninstall ($preserve_data)
 Uninstalls the base_page module.

 get_page ()
 Displays the requested page.


Variables

include includes base_page inc php


Detailed Description

The core layout engine.

This file generates the most of the layout (structural tables, etc), and calls the appropriate hooks in each table cell.

Todo:
This code is not really modular - needs fixing.

Definition in file base_page.php.


Function Documentation

base_page_install  
 

Installs the base_page module.

This is called by the main installation routine - it adds the module to the database.

Returns:
Nothing.

Definition at line 22 of file base_page.php.

References get_entry(), ListAdd(), module_installed(), set_entry(), and set_module_info().

base_page_uninstall   preserve_data
 

Uninstalls the base_page module.

You *really* shouldn't call this unless you know exactly what you are doing - base_page is a core module, and as such is required for modphpcms to function.

Parameters:
preserve_data  true/false
Returns:
Nothing.

Definition at line 72 of file base_page.php.

References delete_entry(), delete_module(), get_entry(), ListDel(), and set_entry().

get_page  
 

Displays the requested page.

This will draw the main page body (a 3x3 grid), which can contain whatever is chosen by the user (and a module exists for), such as website titles, page titles, logos, navigation bars, hit counters, adverts, etc.

The middle-centre box deals with the content.

Returns:
Nothing.

Definition at line 119 of file base_page.php.

References CallHooks(), get_entry(), Ibase_page_doShowData(), Ibase_page_getColSpan(), and Ibase_page_getRowSpan().


Variable Documentation

include includes modfuncs inc php
 

Definition at line 5 of file style.php.


Generated on Wed Jun 9 03:38:16 2004 for modphpcms by doxygen1.2.18