File/program/modules/htmlpage/htmlpage_view.php

Description

/program/modules/htmlpage/htmlpage_view.php - interface to the view-part of the htmlpage module

This file defines the interface with the htmlpage-module for viewing content. The interface consists of this function:

    htmlpage_view(&$output,$area_id,$node_id,$module)

This function is called from /index.php when the node to display is connected to this module.

Functions
htmlpage_view (line 46)

display the content of the htmlpage linked to node $node_id

  • return: TRUE on success + output via $theme, FALSE otherwise
bool htmlpage_view (object &$theme, int $area_id, int $node_id, array $module)
  • object &$theme: collects the (html) output
  • int $area_id: identifies the area where $node_id lives
  • int $node_id: the node to which this module is connected
  • array $module: the module record straight from the database

Documentation generated on Tue, 28 Jun 2016 19:09:52 +0200 by phpDocumentor 1.4.0