Pubwich::setServices PHP Method

setServices() public static method

Set the services to use
public static setServices ( array $services = [] ) : void
$services array
return void
    public static function setServices($services = array())
    {
        self::$services = $services;
    }

Usage Example

Example #1
0
	$twitter = array(
	    // TODO
	); //*/
/*
	$vimeo_likes = array(
	    'Vimeo', 'vimeo_likes', array(
			'username' => 'VIMEO_USERNAME_HERE',
            'list' => 'likes',
			'total' => 3,
			'title' => 'Vimeo',
			'description' => 'what I liked'
		)
	); //*/
/*
	$youtube_uploads = array(
	    'Youtube', 'youtube_uploads', array(
			'list' => 'uploads',
			'username' => 'YOUTUBE_USERNAME_HERE',
			'total' => 3,
			'title' => 'Youtube',
			'description' => 'my recent videos'
		)
	); //*/
/* -- 7) Add service configurations -------------------------------- */
/*
    Use the configuration variables from step 6 to group the Social
    Web services (if you use the vars from the examples, do not forget
    to uncomment). The default theme can have up to 3 groups (columns).
*/
Pubwich::setServices(array(array(), array(), array()));
// Don't forget to fill informations in /humans.txt
All Usage Examples Of Pubwich::setServices