Bearsampp
2026.5.5
Loading...
Searching...
No Matches
class.action.enable.php
Go to the documentation of this file.
1
<?php
2
/*
3
* Copyright (c) 2021-2024 Bearsampp
4
* License: GNU General Public License version 3 or later; see LICENSE.txt
5
* Author: Bear
6
* Website: https://bearsampp.com
7
* Github: https://github.com/Bearsampp
8
*/
9
15
class
ActionEnable
16
{
24
public
function
__construct
($args)
25
{
26
global
$bearsamppBins
;
27
28
if
( isset( $args[0] ) && !empty( $args[0] ) && isset( $args[1] ) ) {
29
Util::startLoading
();
30
$bin =
$bearsamppBins
->getBinByName($args[0]);
31
if
($bin !==
null
) {
32
$bin->setEnable($args[1],
true
);
33
}
34
}
35
}
36
}
$bearsamppBins
global $bearsamppBins
Definition
ajax.apache.php:16
ActionEnable
Definition
class.action.enable.php:16
ActionEnable\__construct
__construct($args)
Definition
class.action.enable.php:24
Util\startLoading
static startLoading()
Definition
class.util.php:720
Bearsampp-development
sandbox
core
classes
actions
class.action.enable.php
Generated by
1.16.1