PHP 클래스 OCA\Richdocuments\Controller\DocumentController

상속: extends OCP\AppFramework\Controller
파일 보기 프로젝트 열기: owncloud/richdocuments

공개 메소드들

메소드 설명
__construct ( $appName, OCP\IRequest $request, OCP\IConfig $settings, AppConfig $appConfig, OCP\IL10N $l10n, $uid, OCP\ICacheFactory $cache, OCP\ILogger $logger )
create ( )
download ( $path )
get ( $fileId )
index ( )
listAll ( )
rename ( $fileId )
serve ( $esId )
wopiCheckFileInfo ( $fileId )
wopiGetFile ( $fileId )
wopiGetToken ( $fileId )
wopiPutFile ( $fileId )

비공개 메소드들

메소드 설명
getDiscovery ( ) Return the content of discovery.xml - either from cache, or download it.
getWopiSrcUrl ( $discovery_parsed, string $mimetype )
loginUser ( string $userid ) Log the user with given $userid.
prepareDocuments ( $rawDocuments ) Prepare document(s) structure
responseError ( $message, $hint = '' )

메소드 상세

__construct() 공개 메소드

public __construct ( $appName, OCP\IRequest $request, OCP\IConfig $settings, AppConfig $appConfig, OCP\IL10N $l10n, $uid, OCP\ICacheFactory $cache, OCP\ILogger $logger )
$request OCP\IRequest
$settings OCP\IConfig
$appConfig OCA\Richdocuments\AppConfig
$l10n OCP\IL10N
$cache OCP\ICacheFactory
$logger OCP\ILogger

create() 공개 메소드

public create ( )

download() 공개 메소드

public download ( $path )

get() 공개 메소드

public get ( $fileId )

index() 공개 메소드

public index ( )

listAll() 공개 메소드

public listAll ( )

rename() 공개 메소드

public rename ( $fileId )

serve() 공개 메소드

public serve ( $esId )

wopiCheckFileInfo() 공개 메소드

public wopiCheckFileInfo ( $fileId )

wopiGetFile() 공개 메소드

public wopiGetFile ( $fileId )

wopiGetToken() 공개 메소드

public wopiGetToken ( $fileId )

wopiPutFile() 공개 메소드

public wopiPutFile ( $fileId )