O'Reilly logo

Mastering Joomla! 1.5 Extension and Framework Development by Chuck Lanham, James Kennard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JModel

abstract, extends JObject , located in / joomla/application/component/model.php

This base class acts as a Factory class for model classes that use the MVC implementation. For further information on using the JModel class refer to Chapter 5, Component Design.

Properties

JDatabase $_db

Reference to the database connection

string $_name

Model base name

JObject $_state

Model state

Inherited properties

Inherited from JObject:

  • JObject::$_errors

Inherited methods

Inherited from JObject:

  • JObject::JObject()
  • JObject::__construct()
  • JObject::get()
  • JObject::getError()
  • JObject::getErrors()
  • JObject::getProperties()
  • JObject::getPublicProperties()
  • JObject::set()
  • JObject::setError()
  • JObject::setProperties()
  • JObject::toString()

Methods

Constructor __construct

Class ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required