PHP 클래스 Components_Helper_DocsOrigin, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $docs_origin, Horde_Http_Client $client ) Constructor.
_fetchDocument ( string $remote, string $local, Components_Output $output ) : null Fetch the given remote document into a local target path.
fetchDocuments ( Components_Output $output ) : null Fetch the remote documents.
getDocuments ( ) : array Return the list of documents that will be fetched.

비공개 메소드들

메소드 설명
_parse ( ) : null Parse the instructions from the file.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $docs_origin, Horde_Http_Client $client )
$docs_origin string Path to the DOCS_ORIGIN file.
$client Horde_Http_Client

_fetchDocument() 공개 메소드

Fetch the given remote document into a local target path.
public _fetchDocument ( string $remote, string $local, Components_Output $output ) : null
$remote string The remote URI.
$local string The local target path.
$output Components_Output The output handler.
리턴 null

fetchDocuments() 공개 메소드

Fetch the remote documents.
public fetchDocuments ( Components_Output $output ) : null
$output Components_Output The output handler.
리턴 null

getDocuments() 공개 메소드

Return the list of documents that will be fetched.
public getDocuments ( ) : array
리턴 array The list of remote documents.