[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_media/src/Model/ -> FileModel.php (summary)

(no description)

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

Defines 1 class

FileModel:: (2 methods):
  getForm()
  getFileInformation()


Class: FileModel  - X-Ref

File Model

getForm($data = [], $loadData = true)   X-Ref
Method to get the record form.

param: array    $data      Data for the form.
param: boolean  $loadData  True if the form is to load its own data (default case), false if not.
return: \Joomla\CMS\Form\Form|boolean  A Form object on success, false on failure

getFileInformation($path)   X-Ref
Method to get the file information for the given path. Path must be
in the format: adapter:path/to/file.extension

param: string  $path  The path to get the information from.
return: \stdClass  An object with file information



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