Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Dérivée par JAdapter, JAdapterInstance, JApplication, JApplicationBase, JArchiveBzip2, JArchiveGzip, JArchiveTar, JArchiveZip, JAuthentication, JAuthenticationResponse, JBrowser, JButton, JCache, JCaptcha, JCategoryNode, JController, JDispatcher, JDocument, JDocumentRenderer, JEditor, JElement, JEvent, JExtension, JFeedEnclosure, JFeedImage, JFeedItem, JFilterInput, JLanguage, JLDAP, JLibraryManifest, JMenu, JModel, JNode, JObservable, JObserver, JOpenSearchImage, JOpenSearchUrl, JPackageManifest, JPagination, JPaginationObject, JPane, JPathway, JProfiler, JRouter, JRouterInstallation, JSchemaChangeitem, JSchemaChangeset, JSession, JSessionStorage, JSimpleCrypt, JSimpleXML, JSimpleXMLElement, JSite, JStream, JTable, JToolBar, JTree, JUpdate, JURI, JUser, et JView.
Fonctions membres publiques | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
toString () |
Attributs protégés | |
$_errors = array() |
JObject::__construct | ( | $properties = null | ) |
Class constructor, overridden in descendant classes.
mixed | $properties | Either and associative array or another object to set the initial properties of the object. |
Réimplémentée dans JController, JPaneSliders, JUser, JDocument, JModel, JDocumentFeed, JPaneTabs, JView, JURI, JSimpleXML, JLDAP, JLibraryManifest, JDocumentHTML, JApplication, JRouter, JEditor, JPackageManifest, JModelAdmin, JControllerForm, JProfiler, ContentModelCategory, JModelList, JDocumentOpensearch, NewsfeedsModelCategory, JToolBar, ContactModelCategory, ContactModelFeatured, JControllerAdmin, JMenu, JSessionStorageMemcache, JSessionStorageMemcached, JElement, JPathway, JCache, FinderModelIndex, JSite, JButton, WeblinksModelCategory, UsersControllerUsers, CategoriesControllerCategory, JSimpleCrypt, JDocumentJSON, JDocumentError, JDocumentXml, JSessionStorage, BannersControllerBanners, InstallerModelLanguages, ContactControllerContacts, ContentControllerArticles, InstallerModel, LanguagesControllerStrings, LanguagesModelOverrides, MenusModelMenus, JAdministrator, CategoriesController, FinderModelFilters, FinderModelMaps, InstallerModelManage, UsersModelUsers, CategoriesModelCategories, InstallerModelUpdate, RedirectModelLinks, SearchModelSearches, UsersModelNotes, ContactModelContacts, ContentControllerArticle, ContentModelArticles, JSessionStorageApc, JSessionStorageEaccelerator, JSessionStorageWincache, LanguagesModelLanguages, MessagesModelMessages, ModulesModelModules, ModulesModelPositions, NewsfeedsModelNewsfeeds, PluginsModelPlugins, TemplatesModelStyles, WeblinksModelWeblinks, ContentModelArticles, JDocumentRaw, JSessionStorageXcache, BannersModelBanners, BannersModelClients, BannersModelTracks, ContentModelFeatured, MenusModelItems, TemplatesModelTemplates, UsersModelGroups, UsersModelLevels, JPathwaySite, ConfigControllerComponent, ConfigControllerApplication, InstallerControllerManage, TemplatesControllerSource, InstallerViewDefault, MenusControllerItems, et ContentController.
Références null.
JObject::__toString | ( | ) |
Magic method to convert the object to a string gracefully.
Réimplémentée dans JApplication, et JURI.
JObject::def | ( | $property, | |
$default = null |
|||
) |
Sets a default value if not alreay assigned
string | $property | The name of the property. |
mixed | $default | The default value. |
JObject::get | ( | $property, | |
$default = null |
|||
) |
Returns a property of the object or the default value if the property is not set.
string | $property | The name of the property. |
mixed | $default | The default value. |
Réimplémentée dans JLanguage, JView, et JCache.
Référencé par plgSystemP3p\onAfterInitialise().
Get the most recent error message.
integer | $i | Option error index. |
boolean | $toString | Indicates if JError objects should return their error message. |
Références $i, elseif, et null.
Référencé par JControllerForm\save().
JObject::getErrors | ( | ) |
Return all errors, if any.
Référencé par JControllerForm\save().
JObject::getProperties | ( | $public = true | ) |
JObject::set | ( | $property, | |
$value = null |
|||
) |
Modifies a property of the object, creating it if it does not already exist.
string | $property | The name of the property. |
mixed | $value | The value of the property to set. |
Références null.
Référencé par JAccessRules\getAllowed().
JObject::setError | ( | $error | ) |
Add an error message.
string | $error | Error message. |
Réimplémentée dans JDocumentError.
JObject::setProperties | ( | $properties | ) |
Set the object properties based on a named array/hash.
mixed | $properties | Either an associative array or another object. |
Référencé par JCategoryNode\__construct().
JObject::toString | ( | ) |
Converts the object to a string (the class name).
Références JLog\add(), et JLog\WARNING.
|
protected |