API15:JObject

出典: Joomla! ドキュメンテーション

[Edit Descripton]



目次

Defined in

libraries/joomla/base/object.php

Methods

Method name Description
JObject A hack to support __construct() on PHP 4
__construct Class constructor, overridden in descendant classes.
get Returns a property of the object or the default value if the property is not set.
getProperties Returns an associative array of object properties
getError Get the most recent error message
getErrors Return all errors, if any
set Modifies a property of the object, creating it if it does not already exist.
setProperties Set the object properties based on a named array/hash
setError Add an error message
toString Object-to-string conversion. Each class can override it as necessary.
getPublicProperties Legacy Method, use JObject::getProperties() instead

Importing

jimport( 'joomla.base.object' );

[Edit See Also]



Examples

<CodeExamplesForm />



自動更新 2012/05/24 01:50:43