PHP Class Settings_parser, 68kb

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