PHP Class DataSift_Account_Identity

Author: Chris Knight ([email protected])
Inheritance: extends DataSift_Account
显示文件 Open project: datasift/datasift-php Class Usage Examples

Public Methods

Method Description
create ( string $label, string $master = false, string $status = 'active' ) : mixed Creates an identity
delete ( string $identity ) : mixed Deletes an identity
get ( string $identity ) : mixed Returns an identity
getAll ( string $label = null, integer $page = 1, integer $perPage = 25 ) : mixed Gets all the identities
update ( string $identity, string $label = null, string $master = null, string $status = null ) : mixed Updates an identity

Method Details

create() public method

Creates an identity
public create ( string $label, string $master = false, string $status = 'active' ) : mixed
$label string
$master string
$status string
return mixed

delete() public method

Deletes an identity
public delete ( string $identity ) : mixed
$identity string
return mixed

get() public method

Returns an identity
public get ( string $identity ) : mixed
$identity string
return mixed

getAll() public method

Gets all the identities
public getAll ( string $label = null, integer $page = 1, integer $perPage = 25 ) : mixed
$label string
$page integer
$perPage integer
return mixed

update() public method

Updates an identity
public update ( string $identity, string $label = null, string $master = null, string $status = null ) : mixed
$identity string
$label string
$master string
$status string
return mixed