Class JModelContent

Description

Content model

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

JObject
   |
   --JModel
      |
      --JModelContent
Direct descendents
Class Description
 class mosContent Legacy class, use JModelContent instead
Variable Summary
 int $access
 string $attribs
 int $catid
 boolean $checked_out
 datetime $created
 datetime $frontpage_down
 datetime $frontpage_up
 string $fulltext
 int $hits
 int $id
 string $images
 string $introtext
 int $mask
 string $metadesc
 string $metakey
 datetime $modified
 int $ordering
 int $parentid
 datetime $publish_down
 datetime $publish_up
 int $state
 string $title
 string $title_alias
 string $urls
 int $version
Method Summary
 JModelContent __construct (database &$db)
 void check ()
 void toXML ([boolean $mapKeysToText = false])
Variables
int $access = null (line 81)
string $attribs = null (line 69)
int $catid = null (line 41)
boolean $checked_out = null (line 53)
time $checked_out_time = null (line 55)
datetime $created = null (line 43)
int $created_by = null (line 45)
  • var: User id
string $created_by_alias = null (line 47)
  • var: An alias for the author
datetime $frontpage_down = null (line 59)
datetime $frontpage_up = null (line 57)
string $fulltext = null (line 33)
int $hits = null (line 83)
int $id = null (line 25)
  • var: Primary key
string $images = null (line 65)
string $introtext = null (line 31)
int $mask = null (line 39)
  • var: DEPRECATED
string $metadesc = null (line 79)
string $metakey = null (line 77)
datetime $modified = null (line 49)
int $modified_by = null (line 51)
  • var: User id
int $ordering = null (line 75)
int $parentid = null (line 73)
datetime $publish_down = null (line 63)
datetime $publish_up = null (line 61)
int $sectionid = null (line 37)
  • var: The id of the category section
int $state = null (line 35)
string $title = null (line 27)
string $title_alias = null (line 29)
string $urls = null (line 67)
int $version = null (line 71)

Inherited Variables

Inherited from JModel

JModel::$_db
JModel::$_error
JModel::$_tbl
JModel::$_tbl_key
Methods
Constructor __construct (line 88)
JModelContent __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:
check (line 95)

Validation and filtering

void check ()

Redefinition of:
JModel::check()
Generic check method
toXML (line 121)

Converts record to XML

void toXML ([boolean $mapKeysToText = false])
  • boolean $mapKeysToText: Map foreign keys to text values

Redefinition of:
JModel::toXML()
Export item list to xml

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:23:10 +0100 by phpDocumentor 1.3.0RC4