API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
Dérivée par CacheData, JAJAXLang, JApplication, JArchiveBzip2, JArchiveGzip, JArchiveTar, JArchiveZip, JAuthenticationResponse, JBrowser, JButton, JCache, JCacheStorage, JController, JDatabase, JDate, JDocument, JDocumentRenderer, JElement, JException, JFeedEnclosure, JFeedImage, JFeedItem, JFilterInput, JFTP, JInstaller, JInstallerComponent, JInstallerLanguage, JInstallerModule, JInstallerPlugin, JInstallerTemplate, JLanguage, JLDAP, JLog, JMenu, JModel, JNode, JObservable, JObserver, JPagination, JPaginationObject, JPane, JPathway, JProfiler, JRegistry, JRegistryFormat, JRouter, JRouterInstallation, JSession, JSessionStorage, JSimpleCrypt, JSimpleXML, JSimpleXMLElement, JSite, JTable, JToolBar, JTree, JURI, JUser, et JView.
JObject::__construct | ( | ) |
Class constructor, overridden in descendant classes.
protected
Réimplémentée dans InstallerModel, InstallerModelInstall, InstallerModelLanguages, InstallerModelModules, InstallerModelPlugins, InstallerModelTemplates, MenusModelItem, SearchModelSearch, WeblinksModelWeblink, WeblinksModelWeblinks, JAdminCSSMenu, ContentModelArticle, ContentModelCategory, ContentModelSection, NewsfeedsModelCategories, NewsfeedsModelCategory, NewsfeedsModelNewsfeed, SearchModelSearch, UserModelUser, WeblinksModelCategories, WeblinksModelCategory, WeblinksModelWeblink, JObservable, JTree, JNode, JDispatcher, JArchiveBzip2, JInstaller, JAuthentication, JAuthenticationResponse, mosInstaller, et mosMambotHandler.
Référencé par JPaneSliders::__construct(), JPaneTabs::__construct(), et mosTabs::__construct().
JObject::get | ( | $ | property, |
$ | default = null |
||
) |
Returns a property of the object or the default value if the property is not set.
public
string | $property | The name of the property |
mixed | $default | The default value |
Réimplémentée dans ContentModelArticle, JView, JCache, JCachePage, JFTP, et JLanguage.
JObject::getError | ( | $ | i = null , |
$ | toString = true |
||
) |
Get the most recent error message
integer | $i | Option error index |
boolean | $toString | Indicates if JError objects should return their error message |
Réimplémentée dans mosDBTable.
Références $error, $i, et JError::isError().
JObject::getErrors | ( | ) |
Return all errors, if any
public
JObject::getProperties | ( | $ | public = true | ) |
Returns an associative array of object properties
public
boolean | $public | If true, returns only the public properties |
JObject::getPublicProperties | ( | ) |
Legacy Method, use JObject::getProperties() instead
Réimplémentée dans mosDBTable.
JObject::JObject | ( | ) |
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()
public
JObject::set | ( | $ | property, |
$ | value = null |
||
) |
Modifies a property of the object, creating it if it does not already exist.
public
string | $property | The name of the property |
mixed | $value | The value of the property to set |
Réimplémentée dans ContentModelArticle.
Référencé par plgUserJoomla::onLoginUser().
JObject::setError | ( | $ | error | ) |
Add an error message
string | $error | Error message public |
Réimplémentée dans JDocumentError.
Références $error.
JObject::setProperties | ( | $ | properties | ) |
JObject::toString | ( | ) |
Object-to-string conversion. Each class can override it as necessary.
public
Réimplémentée dans JException.
JObject::$_errors = array() |