Class JModelModule

Description

Module model

Located in /model/model/module.php (line 22)

JObject
   |
   --JModel
      |
      --JModelModule
Direct descendents
Class Description
 class mosModule Legacy class, use JModelModule instead
Variable Summary
 int $access
 boolean $checked_out
 string $client_id
 int $content
 int $id
 string $iscore
 string $module
 int $numnews
 int $ordering
 string $params
 string $position
 boolean $published
 string $showtitle
 string $title
Method Summary
 JModelModule __construct (database &$db)
 null|string bind (mixed $array, [mixed $ignore = ''], array $hash)
 boolean check ()
Variables
int $access = null (line 47)
boolean $checked_out = null (line 37)
time $checked_out_time = null (line 39)
string $client_id = null (line 53)
int $content = null (line 31)
int $id = null (line 25)
  • var: Primary key
string $iscore = null (line 51)
string $module = null (line 43)
int $numnews = null (line 45)
int $ordering = null (line 33)
string $params = null (line 49)
string $position = null (line 35)
boolean $published = null (line 41)
string $showtitle = null (line 29)
string $title = null (line 27)

Inherited Variables

Inherited from JModel

JModel::$_db
JModel::$_error
JModel::$_tbl
JModel::$_tbl_key
Methods
Constructor __construct (line 61)

Contructore

  • access: protected
JModelModule __construct (database &$db)
  • database &$db: A database connector object

Redefinition of:
JModel::__construct()
Object constructor to set table and key field

Redefined in descendants as:
bind (line 103)

Overloaded bind function

  • return: null is operation was satisfactory, otherwise returns an error
  • since: 1.1
  • see: JModel:bind
null|string bind (mixed $array, [mixed $ignore = ''], array $hash)
  • array $hash: named array

Redefinition of:
JModel::bind()
Binds a named array/hash to this object
check (line 72)

Overloaded check function

  • return: True if the object is ok
  • see: JModel:bind
  • access: public
boolean check ()

Redefinition of:
JModel::check()
Generic check method

Inherited Methods

Inherited From JModel

 JModel::__construct()
 JModel::bind()
 JModel::canDelete()
 JModel::check()
 JModel::checkin()
 JModel::checkout()
 JModel::delete()
 JModel::filter()
 JModel::getError()
 JModel::getInstance()
 JModel::getPublicProperties()
 JModel::hit()
 JModel::isCheckedOut()
 JModel::load()
 JModel::move()
 JModel::publish()
 JModel::publish_array()
 JModel::save()
 JModel::store()
 JModel::toXML()
 JModel::updateOrder()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:24:23 +0100 by phpDocumentor 1.3.0RC4