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.
Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.