REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 1.09 KB
Close
/home/jambtst2015/9jahookups.com/libraries/src/WebAsset/AssetItem/FormValidateAssetItem.php
Text
Base64
<?php /** * Joomla! Content Management System * * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\WebAsset\AssetItem; \defined('JPATH_PLATFORM') or die; use Joomla\CMS\Document\Document; use Joomla\CMS\Language\Text; use Joomla\CMS\WebAsset\WebAssetAttachBehaviorInterface; use Joomla\CMS\WebAsset\WebAssetItem; /** * Web Asset Item class for form.validate asset * * @since 4.0.0 */ class FormValidateAssetItem extends WebAssetItem implements WebAssetAttachBehaviorInterface { /** * Method called when asset attached to the Document. * Useful for Asset to add a Script options. * * @param Document $doc Active document * * @return void * * @since 4.0.0 */ public function onAttachCallback(Document $doc) { // Add validate.js language strings Text::script('JLIB_FORM_CONTAINS_INVALID_FIELDS'); Text::script('JLIB_FORM_FIELD_REQUIRED_VALUE'); Text::script('JLIB_FORM_FIELD_REQUIRED_CHECK'); Text::script('JLIB_FORM_FIELD_INVALID_VALUE'); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
CoreAssetItem.php
1.14 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FormValidateAssetItem.php
1.09 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
KeepaliveAssetItem.php
1.76 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LangActiveAssetItem.php
1.46 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).