[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_media/src/Controller/ -> DisplayController.php (summary)

(no description)

Copyright: (C) 2007 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 69 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

DisplayController:: (2 methods):
  getView()
  getModel()


Class: DisplayController  - X-Ref

Media Manager Component Controller

getView($name = '', $type = '', $prefix = '', $config = [])   X-Ref
Method to get a reference to the current view and load it if necessary.

param: string  $name    The view name. Optional, defaults to the controller name.
param: string  $type    The view type. Optional.
param: string  $prefix  The class prefix. Optional.
param: array   $config  Configuration array for view. Optional.
return: \Joomla\CMS\MVC\View\ViewInterface  Reference to the view or an error.

getModel($name = '', $prefix = '', $config = [])   X-Ref
Method to get a model object, loading it if required.

param: string  $name    The model name. Optional.
param: string  $prefix  The class prefix. Optional.
param: array   $config  Configuration array for model. Optional.
return: \Joomla\CMS\MVC\Model\BaseDatabaseModel|boolean  Model object on success; otherwise false on failure.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer