PHP Class OCA\Richdocuments\File

Afficher le fichier Open project: owncloud/richdocuments Class Usage Examples

Protected Properties

Свойство Type Description
$fileId
$owner
$ownerView
$ownerViewFiles
$passwordProtected
$path
$pathFiles
$sharing
$token

Méthodes publiques

Méthode Description
__construct ( $fileId, $shareOps = null, $token = '' )
checkPassword ( string $password ) : boolean
getByShareToken ( $token )
getFileId ( )
getOwner ( )
getOwnerView ( $relativeToFiles = false )
getPath ( $relativeToFiles = false )
getPermissions ( )
getToken ( )
isPasswordProtected ( )
isPublicShare ( )
setPasswordProtected ( boolean $value )
setToken ( $token )

Méthodes protégées

Méthode Description
getPassword ( )
initViews ( )

Method Details

__construct() public méthode

public __construct ( $fileId, $shareOps = null, $token = '' )

checkPassword() public méthode

public checkPassword ( string $password ) : boolean
$password string
Résultat boolean

getByShareToken() public static méthode

public static getByShareToken ( $token )

getFileId() public méthode

public getFileId ( )

getOwner() public méthode

public getOwner ( )

getOwnerView() public méthode

public getOwnerView ( $relativeToFiles = false )

getPassword() protected méthode

protected getPassword ( )

getPath() public méthode

public getPath ( $relativeToFiles = false )

getPermissions() public méthode

public getPermissions ( )

getToken() public méthode

public getToken ( )

initViews() protected méthode

protected initViews ( )

isPasswordProtected() public méthode

public isPasswordProtected ( )

isPublicShare() public méthode

public isPublicShare ( )

setPasswordProtected() public méthode

public setPasswordProtected ( boolean $value )
$value boolean

setToken() public méthode

public setToken ( $token )

Property Details

$fileId protected_oe property

protected $fileId

$owner protected_oe property

protected $owner

$ownerView protected_oe property

protected $ownerView

$ownerViewFiles protected_oe property

protected $ownerViewFiles

$passwordProtected protected_oe property

protected $passwordProtected

$path protected_oe property

protected $path

$pathFiles protected_oe property

protected $pathFiles

$sharing protected_oe property

protected $sharing

$token protected_oe property

protected $token