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é
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier administrator/components/com_media/media.php

Espaces de nommage

namespace  Joomla\Administrator

Variables

 $user = JFactory::getUser()
 $asset = JRequest::getCmd('asset')
 $author = JRequest::getCmd('author')
if(!$user->authorise('core.manage',
'com_media')&&(!$asset or(!$user->
authorise('core.edit', $asset)&&!$user->
authorise('core.create',
$asset)&&count($user->
getAuthorisedCategories($asset,
'core.create'))==0)&&!($user->
id==$author &&$user->authorise('core.edit.own',
$asset)))) 
$params = JComponentHelper::getParams('com_media')
 $popup_upload = JRequest::getCmd('pop_up', null)
 $path = "file_path"
 $view = JRequest::getCmd('view')
const COM_MEDIA_BASE (substr(strtolower($view), 0, 6)=="images"||$popup_upload==1) = JPATH_ROOT.'/'.$params->get($path, 'images')
const COM_MEDIA_BASEURL = JURI::root().$params->get($path, 'images')
 $controller = JControllerLegacy::getInstance('Media')

Documentation des variables

$controller = JControllerLegacy::getInstance('Media')
if (!$user->authorise('core.manage', 'com_media')&&(!$asset or(!$user->authorise('core.edit', $asset)&&!$user->authorise('core.create', $asset)&&count($user->getAuthorisedCategories($asset, 'core.create'))==0)&&!($user->id==$author &&$user->authorise('core.edit.own', $asset)))) $params = JComponentHelper::getParams('com_media')
$path = "file_path"

Référencé par JHtml\_(), plgSystemLanguageFilter\__construct(), JParameter\__construct(), JDocumentOpensearch\__construct(), JLanguage\__construct(), AdminModelSysInfo\_addDirectory(), JView\_addPath(), JRouterSite\_buildSefRoute(), JCacheStorageFile\_checkExpire(), JApplicationHelper\_checkPath(), JInstallationModelFilesystem\_chmod(), JCacheStorageFile\_cleanPath(), JURI\_cleanPath(), JInstallationModelConfiguration\_createConfiguration(), JArchiveZip\_createZIPFile(), JCacheStorageFile\_deleteFolder(), JArchiveZip\_extract(), JCacheStorageFile\_filesInFolder(), JCacheStorageFile\_folders(), JPluginHelper\_import(), JFolder\_items(), JCaptcha\_load(), JLoader\_load(), JEditor\_loadEditor(), JDocumentHTML\_loadTemplate(), JRouterSite\_parseSefRoute(), JLanguage\_parseXMLLanguageFile(), NewsfeedsViewCategory\_prepareDocument(), WeblinksViewCategory\_prepareDocument(), ContactViewCategory\_prepareDocument(), ContentViewArticle\_prepareDocument(), ContactViewContact\_prepareDocument(), ContentViewCategory\_prepareDocument(), NewsfeedsViewNewsfeed\_prepareDocument(), JView\_setPath(), PHPMailer\AddAttachment(), JToolBar\addButtonPath(), JParameter\addElementPath(), PHPMailer\AddEmbeddedImage(), JView\addHelperPath(), JModelLegacy\addIncludePath(), JModel\addIncludePath(), JCacheController\addIncludePath(), JTable\addIncludePath(), JCacheStorage\addIncludePath(), JCache\addIncludePath(), JHtml\addIncludePath(), JController\addModelPath(), JFormHelper\addPath(), JController\addPath(), JModel\addTablePath(), JView\addTemplatePath(), JController\addViewPath(), JHtmlUsers\admin_language(), PHPMailer\AttachAll(), JPath\canChmod(), JFTP\chdir(), JPath\check(), AdmintoolsHelperDownload\chmod(), JFTP\chmod(), JPath\clean(), SimplePie_Misc\compress_parse_url(), ContactBuildRoute(), ContentBuildRoute(), JFolder\copy(), JFile\copy(), JInstaller\copyManifest(), JGithubForks\create(), JGithubGists\create(), JGithubRefs\create(), JGithubIssues\create(), JGithubPulls\create(), MediaControllerFolder\create(), JFolder\create(), JFTP\create(), JGithubGists\createComment(), JGithubPulls\createComment(), JGithubIssues\createComment(), JGithubPulls\createCommentReply(), JGithubPulls\createFromIssue(), JController\createView(), MediaControllerFolder\delete(), JGithubGists\delete(), MediaControllerFile\delete(), JFolder\delete(), JFTP\delete(), JGithubIssues\deleteComment(), JGithubGists\deleteComment(), JGithubPulls\deleteComment(), JGithubRefs\edit(), JGithubIssues\edit(), JGithubGists\edit(), JGithubPulls\edit(), JGithubGists\editComment(), JGithubIssues\editComment(), JGithubPulls\editComment(), PHPMailer\EncodeFile(), JComponentHelper\executeComponent(), JRegistry\exists(), JFolder\exists(), JLanguage\exists(), JArchive\extract(), JArchiveTar\extract(), JElementFolderlist\fetchElement(), JElementFilelist\fetchElement(), JGithubObject\fetchUrl(), JFolder\files(), JPath\find(), JFolder\folders(), JGithubGists\fork(), JFilesystemHelper\ftpChmod(), GeSHi\GeSHi(), JCacheStorageFile\get(), JGithubRefs\get(), JRegistry\get(), JGithubIssues\get(), JGithubGists\get(), JGithubPulls\get(), SimplePie_IRI\get_iri(), SimplePie_IRI\get_path(), JArchive\getAdapter(), JCacheStorageFile\getAll(), JCacheStorageCachelite\getAll(), JGithubIssues\getComment(), JGithubGists\getComment(), JGithubPulls\getComment(), JGithubIssues\getComments(), JGithubGists\getComments(), JGithubPulls\getComments(), JGithubPulls\getCommits(), JDatabase\getConnectors(), LanguagesModelInstalled\getData(), JSimpleXMLElement\getElementByPath(), TemplatesModelTemplate\getFile(), TemplatesModelTemplate\getFiles(), JGithubPulls\getFiles(), LanguagesModelInstalled\getFolders(), MediaModelManager\getFolderTree(), ConfigModelComponent\getForm(), JImage\getImageFileProperties(), FinderIndexerParser\getInstance(), JRegistryFormat\getInstance(), FinderIndexerStemmer\getInstance(), JSessionStorage\getInstance(), JPathway\getInstance(), JCacheController\getInstance(), JMenu\getInstance(), JCacheStorage\getInstance(), JRouter\getInstance(), JCategories\getInstance(), JSchemaChangeitem\getInstance(), JTable\getInstance(), JApplication\getInstance(), JModel\getInstance(), JController\getInstance(), JLog\getInstance(), JDatabase\getInstance(), JDocument\getInstance(), PluginsModelPlugin\getItem(), TemplatesModelStyle\getItem(), ModulesModelModule\getItem(), ModulesModelPositions\getItems(), ModulesModelSelect\getItems(), modMenuHelper\getList(), JGithubForks\getList(), JGithubRefs\getList(), JGithubGists\getList(), JGithubIssues\getList(), JGithubPulls\getList(), JGithubIssues\getListByRepository(), JGithubGists\getListByUser(), JGithubGists\getListPublic(), JGithubGists\getListStarred(), JInstallation\getLocaliseAdmin(), JLanguage\getMetadata(), ModulesHelper\getModules(), JFormFieldFolderList\getOptions(), JFormFieldFileList\getOptions(), JUser\getParameters(), JTableNested\getPath(), JApplicationHelper\getPath(), JImage\getPath(), LanguagesModelInstalled\getPath(), JPath\getPermissions(), MenusModelMenutypes\getTypeOptionsFromLayouts(), MenusModelMenutypes\getTypeOptionsFromMVC(), JRegistry\getValue(), JLoader\import(), JInstallerPlugin\install(), JInstallerModule\install(), JInstallerComponent\install(), JInstaller\install(), JGithubPulls\isMerged(), JPath\isOwner(), JGithubGists\isStarred(), jimport(), JHtmlUsers\language(), JFTP\listDetails(), JFolder\listFolderTree(), JFTP\listNames(), JLanguage\load(), JFormHelper\loadClass(), JSimpleXML\loadFile(), JImage\loadFile(), JInstallerLibrary\loadLanguage(), JInstallerFile\loadLanguage(), JInstallerTemplate\loadLanguage(), JInstallerPackage\loadLanguage(), JInstallerModule\loadLanguage(), JInstallerPlugin\loadLanguage(), JInstallerComponent\loadLanguage(), JDocument\loadRenderer(), JParameter\loadSetupFile(), JApplicationWeb\loadSystemUris(), JCacheStorageFile\lock(), JFolder\makeSafe(), JGithubPulls\merge(), JFTP\mkdir(), JFile\move(), JFolder\move(), NewsfeedsBuildRoute(), JRouterSite\parse(), JInstaller\parseFiles(), JLanguage\parseLanguageFiles(), JInstaller\parseLanguages(), JInstaller\parseMedia(), plgSystemLanguageFilter\parseRule(), JApplicationHelper\parseXMLInstallFile(), JInstaller\parseXMLInstallFile(), JApplicationHelper\parseXMLLangMetaFile(), JLanguage\parseXMLLanguageFile(), JInstallerFile\populateFilesAndFolderList(), ConfigModelComponent\populateState(), InstallerModelInstall\populateState(), JToolBarHelper\preferences(), CategoriesModelCategory\preprocessForm(), MenusModelItem\preprocessForm(), JTableNested\rebuild(), JTableNested\rebuildPath(), JApplication\redirect(), JApplicationWeb\redirect(), LanguagesModelStrings\refresh(), JLoader\register(), JLoader\registerPrefix(), JFilesystemHelper\remotefsize(), JCacheStorageFile\remove(), JInstaller\removeFiles(), JInstallationControllerSetup\removeFolder(), JComponentHelper\renderComponent(), JModuleHelper\renderModule(), JHttpTransportSocket\request(), JURI\root(), JInputCookie\set(), JRegistry\set(), GeSHi\set_language_path(), SimplePie_IRI\set_path(), JInstallationModelFilesystem\setFolderPermissions(), JURI\setPath(), JController\setPath(), JPath\setPermissions(), JRegistry\setValue(), JHtmlImage\site(), JGithubGists\star(), JCacheStorageFile\store(), JBuffer\stream_open(), JStreamString\stream_open(), JForm\syncPaths(), JImage\toFile(), InstallerModel\translate(), JInstallerLanguage\uninstall(), JCacheStorageFile\unlock(), JGithubGists\unstar(), JInstallerComponent\update(), JInstaller\update(), JStreamString\url_stat(), et WeblinksBuildRoute().

$popup_upload = JRequest::getCmd('pop_up', null)
$user = JFactory::getUser()
$view = JRequest::getCmd('view')

Référencé par ContactHelperRoute\_findItem(), NewsfeedsHelperRoute\_findItem(), WeblinksHelperRoute\_findItem(), ContentHelperRoute\_findItem(), JElementComponentLayouts\_getOptions(), JCacheControllerView\_makeId(), UsersController\canView(), ContactBuildRoute(), ContentBuildRoute(), ModulesController\display(), MessagesController\display(), NewsfeedsController\display(), PluginsController\display(), BannersController\display(), CacheController\display(), MediaController\display(), MenusController\display(), InstallerController\display(), WeblinksController\display(), JInstallationController\display(), JoomlaupdateController\display(), MenusViewItems\display(), ContactController\display(), ContentController\display(), LanguagesController\display(), RedirectController\display(), TemplatesController\display(), ConfigController\display(), FinderController\display(), BannersControllerTracks\display(), CategoriesController\display(), UsersController\display(), JoomlaupdateControllerUpdate\display(), JController\display(), JCacheControllerView\get(), JInstallationModelSetup\getForm(), JFormFieldComponentLayout\getInput(), modRelatedItemsHelper\getList(), modArticlesCategoryHelper\getList(), MenusModelMenutypes\getTypeOptionsFromLayouts(), MenusModelMenutypes\getTypeOptionsFromMVC(), FinderIndexerAdapter\getURL(), JController\getView(), NewsfeedsBuildRoute(), plgContentPagenavigation\onContentBeforeDisplay(), plgContentVote\onContentBeforeDisplay(), plgContentPagebreak\onContentPrepare(), MenusModelItem\preprocessForm(), JHtmlInstallation\stepbar(), JInstallationModelSetup\validate(), et WeblinksBuildRoute().

const COM_MEDIA_BASEURL = JURI::root().$params->get($path, 'images')

Référencé par MediaViewImagesList\display().