PATH:
home
/
lab2454c
/
crypto.keyreum.com
/
platform
/
core
/
base
/
src
/
Supports
<?php namespace Botble\Base\Supports; class Action extends ActionHookEvent { /** * Filters a value * @param string $action Name of action * @param array $args Arguments passed to the filter */ public function fire($action, $args) { if (!$this->getListeners()) { return; } foreach ($this->getListeners() as $hook => $listeners) { krsort($listeners); foreach ($listeners as $arguments) { if ($hook !== $action) { continue; } $parameters = []; for ($index = 0; $index < $arguments['arguments']; $index++) { if (isset($args[$index])) { $parameters[] = $args[$index]; } } call_user_func_array($this->getFunction($arguments['callback']), $parameters); } } } }
[-] MembershipAuthorization.php
[edit]
[-] SortItemsWithChildrenHelper.php
[edit]
[-] EmailAbstract.php
[edit]
[-] Filter.php
[edit]
[-] Language.php
[edit]
[-] DashboardMenu.php
[edit]
[-] ActionHookEvent.php
[edit]
[-] PclZip.php
[edit]
[-] BaseSeeder.php
[edit]
[-] Action.php
[edit]
[-] MacroableModels.php
[edit]
[+]
..
[-] CustomResourceRegistrar.php
[edit]
[-] Assets.php
[edit]
[-] MetaBox.php
[edit]
[-] Avatar.php
[edit]
[-] Enum.php
[edit]
[-] BreadcrumbsGenerator.php
[edit]
[-] PageTitle.php
[edit]
[-] BreadcrumbsManager.php
[edit]
[-] Editor.php
[edit]
[-] Core.php
[edit]
[-] MountManager.php
[edit]
[-] EmailHandler.php
[edit]
[-] RepositoryHelper.php
[edit]
[-] Gravatar.php
[edit]
[-] SystemManagement.php
[edit]
[-] Helper.php
[edit]