PHP Class PHPFusion\SiteLinks

Mostra file Open project: php-fusion/PHP-Fusion Class Usage Examples

Public Methods

Method Description
delete_sitelinks ( $link_id ) : boolean | mixed | null | PDOStatement | resource SQL Delete Site Link Action
get_LinkVisibility ( ) : array Get Group Array
get_SiteLinksData ( array $options = [] ) : array Fetches Site Links Hierarchy Data - for a less support complexity
get_current_SiteLinks ( string $url = "", string $key = NULL ) : array | boolean Given a matching URL, fetch Sitelinks data
load_sitelinks ( $link_id ) : array Site Link Loader
verify_sitelinks ( $link_id ) : boolean | string Link ID validation

Method Details

get_LinkVisibility() public static method

Get Group Array
public static get_LinkVisibility ( ) : array
return array

get_SiteLinksData() public static method

Fetches Site Links Hierarchy Data - for a less support complexity
public static get_SiteLinksData ( array $options = [] ) : array
$options array - join - link_position (array) - condition - group - order
return array