Properties

$uuid

$uuid : string

Type

string

$id

$id : string

Type

string

$path

$path : string

Type

string

$display

$display : string

Type

string

$displayStringId

$displayStringId : string

Type

string

$accessType

$accessType : string

Type

string

$recycle

$recycle : string

Type

string

$create

$create : boolean

Type

boolean

$writeable

$writeable : boolean

Type

boolean

$enabled

$enabled : boolean

Type

boolean

$options

$options : array

Type

array

$slug

$slug : string

Type

string

$isTemplate

$isTemplate : boolean

Type

boolean

$repositoryType

$repositoryType : string

Type

string — local or remote

$accessStatus

$accessStatus : string

Type

string — status

$groupPath

$groupPath : String

Type

String — the groupPath of the administrator who created that repository.

$owner

$owner : string

Type

string

$parentId

$parentId : string

Type

string

$uniqueUser

$uniqueUser : string

Type

string

$inferOptionsFromParent

$inferOptionsFromParent : boolean

Type

boolean

$contentFilterData

$contentFilterData : array

Type

array — Store filters as array variable to avoid serialization problems

Methods

hasContentFilter()

hasContentFilter() : boolean

Check if a ContentFilter is set or not

Returns

boolean

__construct()

__construct(string  $id, string  $display, string  $driver) 

Parameters

string $id
string $display
string $driver

createSharedChild()

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

Create a shared version of this repository

Parameters

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

Returns

\Pydio\Access\Core\Model\Repository

createTemplateChild()

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

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

Parameters

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

Returns

\Pydio\Access\Core\Model\Repository

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(null  $slug = null) : void

Use the slugify function to generate an alias from the label

Parameters

null $slug

addOption()

addOption(  $oName,   $oValue) : void

Add options

Parameters

$oName
$oValue

getSafeOption()

getSafeOption(string  $oName) : mixed|string

Parameters

string $oName

Throws

\Exception

Returns

mixed|string

getContextOption()

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

Parameters

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

Throws

\Pydio\Core\Exception\PydioException

Returns

mixed

getOptionsDefined()

getOptionsDefined() : array

Get the options that already have a value

Returns

array

getDefaultRight()

getDefaultRight() : mixed|string

Get the DEFAULT_RIGHTS option

Throws

\Pydio\Core\Exception\PydioException

Returns

mixed|string

getAccessType()

getAccessType() : string

The the access driver type

Returns

string

getDisplay()

getDisplay() : mixed|string

The label of this repository

Throws

\Pydio\Core\Exception\PydioException

Returns

mixed|string

getId()

getId() : string

Returns

string

getCreate()

getCreate() : boolean

Throws

\Pydio\Core\Exception\PydioException

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, null  $ownerUserId = null, null  $childUserId = null) 

Parameters

string $repoParentId
null $ownerUserId
null $childUserId

getOwner()

getOwner() : string

Returns

string

getParentId()

getParentId() : string|null

Returns

string|null

isTemplate()

isTemplate() : boolean

Returns

boolean

getUniqueUser()

getUniqueUser() : string

Returns

string

hasOwner()

hasOwner() : boolean

Returns

boolean

hasParent()

hasParent() : boolean

Returns

boolean

setInferOptionsFromParent()

setInferOptionsFromParent(  $bool) 

Parameters

$bool

getInferOptionsFromParent()

getInferOptionsFromParent() : boolean

Returns

boolean

setGroupPath()

setGroupPath(String  $groupPath,   $update = true) 

Parameters

String $groupPath
$update

getGroupPath()

getGroupPath() : String

Returns

String

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) : mixed

Parameters

boolean $public
null $ownerLabel

Returns

mixed

securityScope()

securityScope() : boolean|string

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

Throws

\Pydio\Core\Exception\PydioException

Returns

boolean|string

__sleep()

__sleep() : array

Returns

array

checkCFilterData()

checkCFilterData() 

Fix unserialization issues by reloading object from data array