Class Socialveo\Core\helpers\ConfigHelper

InheritanceSocialveo\Core\helpers\ConfigHelper

Class ConfigHelper

Method Details

getAvailableLanguages() public static method

Get available languages

public static array getAvailableLanguages ( )
getConfig() public static method

Get category config

public static null|Phalcon\Config|stdClass getConfig ( $category null )
$category string

[optional]

getDefaultLanguage() public static method

Returns default language

public static string getDefaultLanguage ( )
getNetworkCategories() public static method

Returns categories of type of network or null

public static array|null getNetworkCategories ( $networkType, $returnElement false )
$networkType string
$returnElement boolean

[optional[ Whether to return whole element data

getNetworkConfig() public static method

Returns network config

public static mixed|stdClass|Phalcon\Config getNetworkConfig ( $name, $networkType, $premium false )
$name string
$networkType string
$premium boolean

[optional]

getNetworkFilterByCategory() public static method

Returns filterByCategory config for network type

public static boolean getNetworkFilterByCategory ( $networkType )
$networkType string
getNetworkPrivacyConfig() public static method

Get privacy config

public static array|stdClass|Phalcon\Config getNetworkPrivacyConfig ( $networkType, $asArray false, $premium false )
$networkType string
$asArray boolean

[optional] Returns config as array

$premium boolean

[optional] Whether network is premium

getNetworkPublicName() public static method

Get publicName config

public static array|Phalcon\Config|stdClass getNetworkPublicName ( $networkType, $asArray false, $premium false )
$networkType string
$asArray boolean

[optional] Returns config as array

$premium boolean

[optional] Whether network is premium

getNetworks() public static method

Get available networks

public static array getNetworks ( $hidden false )
$hidden boolean

[optional]

getNetworksNames() public static method

Get available networks

public static array getNetworksNames ( $hidden false )
$hidden boolean

[optional]