Heratio Framework API Reference

RightsService
in package

Table of Contents

Methods

applyBatchRights()  : array<string|int, mixed>
Apply extended rights to objects
getAllDescendantIds()  : array<string|int, mixed>
Get ALL descendants using nested set.
getChildIds()  : array<string|int, mixed>
Get direct children of a parent.
getCreativeCommonsLicenses()  : Collection
Get Creative Commons Licenses
getInformationObjects()  : Collection
Get information objects for select.
getRightsHolders()  : Collection
Get Rights Holders
getRightsStatements()  : Collection
Get Rights Statements (rightsstatements.org)
getTkLabels()  : Collection
Get Traditional Knowledge Labels

Methods

applyBatchRights()

Apply extended rights to objects

public applyBatchRights(array<string|int, mixed> $objectIds, array<string|int, mixed> $rightsData[, string $action = 'assign' ]) : array<string|int, mixed>
Parameters
$objectIds : array<string|int, mixed>
$rightsData : array<string|int, mixed>
$action : string = 'assign'
Return values
array<string|int, mixed>

getAllDescendantIds()

Get ALL descendants using nested set.

public getAllDescendantIds(int $parentId) : array<string|int, mixed>
Parameters
$parentId : int
Return values
array<string|int, mixed>

getChildIds()

Get direct children of a parent.

public getChildIds(int $parentId) : array<string|int, mixed>
Parameters
$parentId : int
Return values
array<string|int, mixed>

getCreativeCommonsLicenses()

Get Creative Commons Licenses

public getCreativeCommonsLicenses([string $culture = 'en' ]) : Collection
Parameters
$culture : string = 'en'
Return values
Collection

getInformationObjects()

Get information objects for select.

public getInformationObjects([string $culture = 'en' ]) : Collection
Parameters
$culture : string = 'en'
Return values
Collection

getRightsHolders()

Get Rights Holders

public getRightsHolders([string $culture = 'en' ]) : Collection
Parameters
$culture : string = 'en'
Return values
Collection

getRightsStatements()

Get Rights Statements (rightsstatements.org)

public getRightsStatements([string $culture = 'en' ]) : Collection
Parameters
$culture : string = 'en'
Return values
Collection

getTkLabels()

Get Traditional Knowledge Labels

public getTkLabels([string $culture = 'en' ]) : Collection
Parameters
$culture : string = 'en'
Return values
Collection

        
On this page

Search results