Public Member Functions

book Class Reference

Inheritance diagram for book:
module

Public Member Functions

 getHtml ($gotuid, $gotmoduleComponentId, $gotaction)
 actionView ()
 actionEdit ()
 createModule (&$moduleComponentId)
 deleteModule ($moduleComponentId)
 copyModule ($moduleComponentId)
 tabScript ()
 isPresent ($parentId, $pageId)

Detailed Description

Definition at line 32 of file book.lib.php.


Member Function Documentation

actionEdit (  ) 

function actionEdit:

Returns:
HTML Edit interface for book module's properties

Definition at line 109 of file book.lib.php.

actionView (  ) 

function actionView:

Returns:
HTML View of the Book according to the properties set

Reimplemented from module.

Definition at line 61 of file book.lib.php.

copyModule ( moduleComponentId  ) 

function copyModule: duplicates book with a new moduleComponentId

Reimplemented from module.

Definition at line 212 of file book.lib.php.

createModule ( &$  moduleComponentId  ) 

function createModule: safedit module pages needs no initialization. will be called when safedit module instance is created.

Reimplemented from module.

Definition at line 180 of file book.lib.php.

deleteModule ( moduleComponentId  ) 

function deleteModule: delete all book module data corresponding to the passed page_modulecomponentid will be called when safedit module instance is getting deleted.

Reimplemented from module.

Definition at line 200 of file book.lib.php.

getHtml ( gotuid,
gotmoduleComponentId,
gotaction 
)

function getHtml: Gateway through which CMS interacts with module This function will be called from getContent function of cms/content.lib.php

Reimplemented from module.

Definition at line 43 of file book.lib.php.

isPresent ( parentId,
pageId 
)

function isPresent: recursive function used to find if a page identified by $pageId is inside book identified by $parentId $parentId is page_id of the book(where we're searching) and not its page_moduleComponentId

Definition at line 285 of file book.lib.php.

tabScript (  ) 

function tabScript:

Returns:
Javascript which takes care of client-side page switching

Definition at line 224 of file book.lib.php.


The documentation for this class was generated from the following file: