Class Module

Description

Methods to access properties of a module

Located in /program/lib/module.class.php (line 33)


	
			
Direct descendents
Class Description
 class ModuleHtmlpage /program/modules/htmlpage/htmlpage.class.php - module for plain HTML-pages
Variable Summary
 mixed $node_id
Method Summary
 void Module ([array|null $module_record = NULL], [int|null $node_id = NULL])
 array get_breadcrumb_anchors (int $node_id)
 string get_content (int $node_id)
Variables
mixed $module_record = NULL (line 35)
mixed $node_id = NULL (line 38)
Methods
Constructor Module (line 45)
void Module ([array|null $module_record = NULL], [int|null $node_id = NULL])
  • array|null $module_record: cached from modules table in database
  • int|null $node_id: #node_id the node linked to this module
get_breadcrumb_anchors (line 64)

get additional breadcrumb trail

  • return: an array with 0 or more additional breadcrumbs
array get_breadcrumb_anchors (int $node_id)
  • int $node_id: identifies the node
get_content (line 55)

get the actual content for node $node_id

  • return: content that can be displayed straight away
string get_content (int $node_id)
  • int $node_id: identifies the node

Redefined in descendants as:

Documentation generated on Wed, 11 May 2011 23:45:27 +0200 by phpDocumentor 1.4.0