[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_media/src/Event/ -> AbstractMediaItemValidationEvent.php (summary)

(no description)

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

Defines 1 function

  validate()

Functions
Functions that are not part of a class:

validate(\stdClass $item)   X-Ref
Validate $item to have all attributes with a valid type.

Properties validated:
- type:          The type can be file or dir
- name:          The name of the item
- path:          The relative path to the root
- extension:     The file extension
- size:          The size of the file
- create_date:   The date created
- modified_date: The date modified
- mime_type:     The mime type
- width:         The width, when available
- height:        The height, when available

Properties generated:
- created_date_formatted:  DATE_FORMAT_LC5 formatted string based on create_date
- modified_date_formatted: DATE_FORMAT_LC5 formatted string based on modified_date

param: \stdClass  $item  The item to set
return: void



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