Class mosContent

Description

Module database table class

  • author: Andrew Eddie <eddieajau@users.sourceforge.net

Located in /components/com_content/content.class.php (line 144)

mosDBAbstractRow
   |
   --mosDBTable
      |
      --mosContent
Direct descendents
Class Description
 class mosExtendedContent Module database table class
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
 mosContent mosContent (database 0)
 void check ()
 void toXML ([boolean $mapKeysToText = false])
Variables
int $access = null (line 202)
string $attribs = null (line 190)
int $catid = null (line 162)
boolean $checked_out = null (line 174)
time $checked_out_time = null (line 176)
datetime $created = null (line 164)
int $created_by = null (line 166)
  • var: User id
string $created_by_alias = null (line 168)
  • var: An alias for the author
datetime $frontpage_down = null (line 180)
datetime $frontpage_up = null (line 178)
string $fulltext = null (line 154)
int $hits = null (line 204)
int $id = null (line 146)
  • var: Primary key
string $images = null (line 186)
string $introtext = null (line 152)
int $mask = null (line 160)
  • var: DEPRECATED
string $metadesc = null (line 200)
string $metakey = null (line 198)
datetime $modified = null (line 170)
int $modified_by = null (line 172)
  • var: User id
int $ordering = null (line 196)
int $parentid = null (line 194)
datetime $publish_down = null (line 184)
datetime $publish_up = null (line 182)
int $sectionid = null (line 158)
  • var: The id of the category section
int $state = null (line 156)
string $title = null (line 148)
string $title_alias = null (line 150)
string $urls = null (line 188)
int $version = null (line 192)

Inherited Variables

Inherited from mosDBTable

mosDBTable::$_db

Inherited from mosDBAbstractRow

mosDBAbstractRow::$_error
mosDBAbstractRow::$_tbl
mosDBAbstractRow::$_tbl_key
Methods
Constructor mosContent (line 209)
mosContent mosContent (database 0)
  • database 0: A database connector object
check (line 217)

Validation and filtering

void check ()

Redefinition of:
mosDBAbstractRow::check()
generic check method
toXML (line 242)

Converts record to XML

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

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

Inherited Methods

Inherited From mosDBTable

 mosDBTable::bind()
 mosDBTable::checkin()
 mosDBTable::checkout()
 mosDBTable::delete()
 mosDBTable::filter()
 mosDBTable::get()
 mosDBTable::getError()
 mosDBTable::getPublicProperties()
 mosDBTable::hit()
 mosDBTable::load()
 mosDBTable::publish_array()
 mosDBTable::queryTestFailure()
 mosDBTable::save()
 mosDBTable::set()
 mosDBTable::store()
 mosDBTable::toXML()

Inherited From mosDBAbstractRow

 mosDBAbstractRow::mosDBAbstractRow()
 mosDBAbstractRow::check()
 mosDBAbstractRow::lacks()
 mosDBAbstractRow::move()
 mosDBAbstractRow::updateOrder()

Documentation generated on Mon, 05 May 2008 16:18:19 +0400 by phpDocumentor 1.4.0