PHP 클래스 OCA\Richdocuments\Db\Wopi

상속: extends OCA\Richdocuments\Db
파일 보기 프로젝트 열기: owncloud/richdocuments 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$insertStatement
$loadStatement
$tableName

공개 메소드들

메소드 설명
generateFileToken ( $fileId, $version ) * Given a fileId and version, generates a token and stores in the database.
getPathForToken ( $fileId, $version, $token ) * Given a token, validates it and constructs and validates the path.

메소드 상세

generateFileToken() 공개 메소드

version is 0 if current version of fileId is requested, otherwise its the version number as stored by files_version app Returns the token.
public generateFileToken ( $fileId, $version )

getPathForToken() 공개 메소드

Returns the path, if valid, else false.
public getPathForToken ( $fileId, $version, $token )

프로퍼티 상세

$insertStatement 보호되어 있는 프로퍼티

protected $insertStatement

$loadStatement 보호되어 있는 프로퍼티

protected $loadStatement

$tableName 보호되어 있는 프로퍼티

protected $tableName