Methods

getGroupPath()

getGroupPath() : String

Returns

String

setGroupPath()

setGroupPath(String  $groupPath, boolean  $update = true) : void

Parameters

String $groupPath
boolean $update

Save use after setting groupPath

hasContentFilter()

hasContentFilter() : boolean

Check if a ContentFilter is set or not

Returns

boolean

createSharedChild()

createSharedChild(string  $newLabel, array  $newOptions, string  $parentId, string  $owner, string  $uniqueUser = null) : \Pydio\Core\Model\RepositoryInterface

Create a shared version of this repository

Parameters

string $newLabel
array $newOptions
string $parentId
string $owner
string $uniqueUser

Returns

\Pydio\Core\Model\RepositoryInterface

createTemplateChild()

createTemplateChild(string  $newLabel, array  $newOptions, string  $creator = null, string  $uniqueUser = null) : \Pydio\Core\Model\RepositoryInterface

Create a child from this repository if it's a template

Parameters

string $newLabel
array $newOptions
string $creator
string $uniqueUser

Returns

\Pydio\Core\Model\RepositoryInterface

upgradeId()

upgradeId() : boolean

Recompute uuid

Returns

boolean

getUniqueId()

getUniqueId(boolean  $serial = false) : string

Get a uuid

Parameters

boolean $serial

Returns

string

getSlug()

getSlug() : string

Alias for this repository

Returns

string

setSlug()

setSlug(string  $slug = null) : void

Use the slugify function to generate an alias from the label

Parameters

string $slug

addOption()

addOption(  $oName,   $oValue) : void

Add options

Parameters

$oName
$oValue

getContextOption()

getContextOption(\Pydio\Core\Model\ContextInterface  $ctx, string  $oName, null  $default = null) : mixed

Parameters

\Pydio\Core\Model\ContextInterface $ctx
string $oName
null $default

Returns

mixed

getSafeOption()

getSafeOption(string  $oName) : mixed|string

Parameters

string $oName

Throws

\Exception

Returns

mixed|string

getOptionsDefined()

getOptionsDefined() : array

Get the options that already have a value

Returns

array

getDefaultRight()

getDefaultRight() : string

Get the DEFAULT_RIGHTS option

Returns

string

getAccessType()

getAccessType() : String

The the access driver type

Returns

String

getDisplay()

getDisplay() : String

The label of this repository

Returns

String

getId()

getId() : string

Returns

string

getCreate()

getCreate() : boolean

Returns

boolean

setCreate()

setCreate(boolean  $create) 

Parameters

boolean $create

setAccessType()

setAccessType(String  $accessType) 

Parameters

String $accessType

setDisplay()

setDisplay(String  $display) 

Parameters

String $display

setId()

setId(integer  $id) 

Parameters

integer $id

isWriteable()

isWriteable() : boolean

Returns

boolean

setWriteable()

setWriteable(boolean  $w) 

Parameters

boolean $w

setDisplayStringId()

setDisplayStringId(string  $id) 

Parameters

string $id

setOwnerData()

setOwnerData(string  $repoParentId, string|null  $ownerUserId = null, string|null  $childUserId = null) 

Parameters

string $repoParentId
string|null $ownerUserId
string|null $childUserId

getOwner()

getOwner() : string|null

Returns

string|null

getParentId()

getParentId() : string|null

Returns

string|null

getUniqueUser()

getUniqueUser() : string|null

Returns

string|null

hasOwner()

hasOwner() : boolean

Returns

boolean

hasParent()

hasParent() : boolean

Returns

boolean

isTemplate()

isTemplate() : boolean

Returns

boolean

setInferOptionsFromParent()

setInferOptionsFromParent(  $bool) 

Parameters

$bool

getInferOptionsFromParent()

getInferOptionsFromParent() : boolean

Returns

boolean

setDescription()

setDescription(String  $descriptionText) 

Parameters

String $descriptionText

getAccessStatus()

getAccessStatus() : string

Returns

string

setAccessStatus()

setAccessStatus(string  $accessStatus) 

Parameters

string $accessStatus

getRepositoryType()

getRepositoryType() : string

Returns

string

setRepositoryType()

setRepositoryType(string  $repositoryType) 

Parameters

string $repositoryType

getDescription()

getDescription(boolean  $public = false, null  $ownerLabel = null) : String

Parameters

boolean $public
null $ownerLabel

Returns

String

securityScope()

securityScope() : boolean|string

Infer a security scope for this repository. Will determine to whome the messages will be broadcasted.

Returns

boolean|string