Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JObject

Description

Object class, allowing __construct in PHP4.

Located in /joomla/base/object.php (line 23)

Class JObject   (Subpackage Base)
Direct descendents
Class Description
ClassJURI JURI Class
ClassJBrowser Browser class, provides capability information about the current web client.
ClassJSession Class for managing HTTP sessions
Abstract classJSessionStorage Custom session storage handler for PHP
Abstract classJPane JPane abstract class
Abstract classJButton Button base class
ClassJPagination Pagination Class. Provides a common interface for content pagination for the Joomla! Framework
ClassJPaginationObject Pagination object representing a particular item in the pagination lists
ClassJToolBar ToolBar handler
Abstract classJElement Parameter base class
Abstract classJCache Joomla! Cache base object
Abstract classJCacheStorage Abstract cache storage handler
Abstract classJDatabase Database connector class
Abstract classJTable Abstract Table class
Abstract classJRegistryFormat Abstract Format for JRegistry
ClassJRegistry JRegistry class
Abstract classJDocument Document class, provides an easy interface to parse and display a document
Abstract classJDocumentRenderer Abstract class for a renderer
ClassJFeedItem JFeedItem is an internal class that stores feed item information
ClassJFeedEnclosure JFeedEnclosure is an internal class that stores feed enclosure information
ClassJFeedImage JFeedImage is an internal class that stores feed image information
ClassJInstallerTemplate Template installer
ClassJInstallerComponent Component installer
ClassJInstallerLanguage Language installer
ClassJInstallerModule Module installer
ClassJInstallerPlugin Plugin installer
ClassJInstaller Joomla base installer class
ClassJDate JDate is a class that stores a date
ClassJException Joomla! Exception object.
ClassJProfiler Utility class to assist in the process of benchmarking the execution of sections of code to understand where time is being spent.
ClassJSimpleXML SimpleXML implementation.
ClassJSimpleXMLElement SimpleXML Element
ClassJLog Joomla! Logging class
ClassJArchiveBzip2 Bzip2 format adapter for the JArchive class
ClassJArchiveZip ZIP format adapter for the JArchive class
ClassJArchiveGzip Gzip format adapter for the JArchive class
ClassJArchiveTar Tar format adapter for the JArchive class
ClassJLanguage Languages/translation handler class
ClassJFTP FTP client class
ClassJTree Tree Class.
ClassJNode Tree Node Class.
Abstract classJObserver Abstract observer class to implement the observer design pattern
Abstract classJObservable Abstract observable class to implement the observer design pattern
ClassJMenu JMenu class
ClassJPathWay Class to maintain a pathway.
Abstract classJApplication Base class for a Joomla! application.
ClassJRouter Class to create and parse routes
ClassJSearch Base search class
Abstract classJController Base class for a Joomla Controller
Abstract classJModel Base class for a Joomla Model
Abstract classJView Base class for a Joomla View
ClassJInputFilter JInputFilter is a class for filtering input from any data source
ClassJAuthenticate Authorization class, provides an interface for the Joomla authentication system
ClassJAuthenticateResponse Authorization response class, provides an object for storing user and error details
ClassJUser User class. Handles all application interaction with a user
Method Summary
Constructor JObject __construct ()
Constructor Object JObject ()
Method mixed get (string $property, [mixed $default = null])
Method array getPublicProperties ([boolean $assoc = false])
Method void set (string $property, [mixed $value = null])
Method string toString ()
Methods
Constructor __construct (line 44)

Class constructor, overridden in descendant classes.

  • access: protected
JObject __construct ()

Redefined in descendants as:
Constructor JObject (line 33)

A hack to support __construct() on PHP 4

Hint: descendant classes have no PHP4 class_name() constructors, so this constructor gets called first and calls the top-layer __construct() which (if present) should call parent::__construct()

Object JObject ()
get (line 64)

Returns a property of the object or the default value if the property is not set.

mixed get (string $property, [mixed $default = null])
  • string $property: The name of the property
  • mixed $default: The default value

Redefined in descendants as:
getPublicProperties (line 79)

Returns an array of public properties

array getPublicProperties ([boolean $assoc = false])
  • boolean $assoc: If true, returns an associative key=>value array
set (line 52)

Modifies a property of the object, creating it if it does not already exist.

void set (string $property, [mixed $value = null])
  • string $property: The name of the property
  • mixed $value: The value of the property to set

Redefined in descendants as:
toString (line 100)

Object-to-string conversion.

Each class can override it as necessary.

string toString ()

Redefined in descendants as:

Documentation generated on Mon, 05 Mar 2007 21:12:09 +0000 by phpDocumentor 1.3.1