XBS_MODGEN
[ class tree: XBS_MODGEN ] [ index: XBS_MODGEN ] [ all elements ]

Class: Xbs_ModgenXBS_MODGENModuleHandler

Source Location: /class/XBS_MODGENModule.php

Class Overview

CDMBaseHandler
   |
   --Xbs_ModgenXBS_MODGENModuleHandler

Object handler for XBS_MODGENModule


Methods



Class Details

[line 71]
Object handler for XBS_MODGENModule



[ Top ]


Class Methods


constructor Xbs_ModgenXBS_MODGENModuleHandler [line 78]

Xbs_ModgenXBS_MODGENModuleHandler Xbs_ModgenXBS_MODGENModuleHandler( xoopsDB &$db)

Constructor



Parameters:

xoopsDB   &$db   Handle to xoopsDb object

[ Top ]

method countModules [line 195]

int countModules( )

Function: Count the number of Modules



Tags:

return:  number of modules
version:  1


[ Top ]

method delete [line 179]

bool delete( Handle &$obj)

Delete Module from the database

This will also delete any child objects and config records OVERIDE ancestor




Tags:

return:  TRUE on success else False


Parameters:

Handle   &$obj   to module object

[ Top ]

method getKey [line 118]

int getKey( string $modname)

Get internal identifier (primary key) based on user visible code



Tags:

return:  Internal identifier of module else false on failure


Parameters:

string   $modname   Name of module

[ Top ]

method getLastGen [line 226]

string getLastGen( )

Function: return date and time of last generated module

Returns a descriptive string for display to user




Tags:

return:  last mod generation description
version:  1


[ Top ]

method getSelectList [line 208]

array getSelectList( )

return an array of Id, ModuleName pairs for use in a select box



[ Top ]

method _get [line 106]

string &_get( int $id, string $row_flag, string $lang)

Returns sql code to get a module data record

OVERIDE ancestor




Tags:

return:  SQL string to get data


Parameters:

int   $id   internal id of the object. Internal code is a unique int value.
string   $row_flag   default null (get all), Option(CDM_RSTAT_ACT, CDM_RSTAT_DEF, CDM_RSTAT_SUS)
string   $lang   default null (get all), Valid LANGUAGE code. Will only return object of that language set

[ Top ]

method _ins_insert [line 138]

string _ins_insert( array $cleanVars)

Function: return sql to insert module to database

OVERIDE ancestor




Tags:

return:  SQL insert string
version:  1


Parameters:

array   $cleanVars   module parameters array

[ Top ]

method _ins_update [line 155]

string _ins_update( array $cleanVars)

Function: return sql to update module to database

OVERIDE ancestor




Tags:

return:  SQL insert string
version:  1


Parameters:

array   $cleanVars   module parameters array

[ Top ]


Documentation generated on Sun, 16 Jul 2006 11:02:47 +0100 by phpDocumentor 1.3.0RC3