Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Settings_parser
PHP Class Settings_parser, 68kb
See link:
http://68kb.com/user_guide/
Show file
Open project: 68kb/68kb
Public Methods
Method
Description
__construct
( )
get
(
$data
= [] ) :
mixed
Get Setting (Notice Singular)
Private Methods
Method
Description
_get_param
(
$key
,
$data
) :
mixed
Get a single param
Method Details
__construct()
public
method
public
__construct
( )
get()
public
method
Used to pull out one specific setting from the settings table. Here is an example:
{kb:settings:get name="site_name"}
public
get
(
$data
= [] ) :
mixed
return
mixed