public function createAlbum($user, $name, $description = null, $privacy = null)
	{
		// Set POST request parameters.
		$data = array();
		$data['name'] = $name;
		$data['description'] = $description;
		$data['privacy'] = $privacy;

		return $this->createConnection($user, 'albums', $data);
	}
public function createAlbum($user, $name, $description = null, $privacy = null)
	{
		// Set POST request parameters.
		$data = array();
		$data['name'] = $name;
		$data['description'] = $description;
		$data['privacy'] = $privacy;

		return $this->createConnection($user, 'albums', $data);
	}
public function createAlbum ( $ user , $ name , $ description = null , $ privacy = null ) { // Set POST request parameters. $ data = array ( ) ; $ data [ 'name' ] = $ name ; $ data [ 'description' ] = $ description ; $ data [ 'privacy' ] = $ privacy ; return $ this -> createConnection ( $ user , 'albums' , $ data ) ; }
Method to create an album for a user.  Requires authentication and publish_stream permission.

@param   mixed   $user         Either an integer containing the user ID or a string containing the username.
@param   string  $name         Album name.
@param   string  $description  Album description.
@param   string  $privacy      A JSON-encoded object that defines the privacy setting for the album.

@return  mixed   The decoded JSON response or false if the client is not authenticated.

@since   1.0
Method to create an album for a user . Requires authentication and publish_stream permission .