Documentation

BaseChannelReader
in package

Base PEAR Channel reader.

Provides xml namespaces and red

Tags
author

Alexey Prilipko palex@farpost.com

Table of Contents

ALL_CATEGORIES_NS  = 'http://pear.php.net/dtd/rest.allcategories'
ALL_PACKAGES_NS  = 'http://pear.php.net/dtd/rest.allpackages'
ALL_RELEASES_NS  = 'http://pear.php.net/dtd/rest.allreleases'
CATEGORY_PACKAGES_INFO_NS  = 'http://pear.php.net/dtd/rest.categorypackageinfo'
CHANNEL_NS  = 'http://pear.php.net/channel-1.0'
PEAR REST Interface namespaces
PACKAGE_INFO_NS  = 'http://pear.php.net/dtd/rest.package'
$rfs  : RemoteFilesystem
__construct()  : mixed
requestContent()  : SimpleXMLElement
Read content from remote filesystem.
requestXml()  : SimpleXMLElement
Read xml content from remote filesystem

Constants

ALL_CATEGORIES_NS

public mixed ALL_CATEGORIES_NS = 'http://pear.php.net/dtd/rest.allcategories'

ALL_PACKAGES_NS

public mixed ALL_PACKAGES_NS = 'http://pear.php.net/dtd/rest.allpackages'

ALL_RELEASES_NS

public mixed ALL_RELEASES_NS = 'http://pear.php.net/dtd/rest.allreleases'

CATEGORY_PACKAGES_INFO_NS

public mixed CATEGORY_PACKAGES_INFO_NS = 'http://pear.php.net/dtd/rest.categorypackageinfo'

CHANNEL_NS

PEAR REST Interface namespaces

public mixed CHANNEL_NS = 'http://pear.php.net/channel-1.0'

PACKAGE_INFO_NS

public mixed PACKAGE_INFO_NS = 'http://pear.php.net/dtd/rest.package'

Properties

Methods

requestContent()

Read content from remote filesystem.

protected requestContent(string $origin, string $path) : SimpleXMLElement
Parameters
$origin : string

server

$path : string

relative path to content

Tags
throws
UnexpectedValueException
Return values
SimpleXMLElement

requestXml()

Read xml content from remote filesystem

protected requestXml(string $origin, string $path) : SimpleXMLElement
Parameters
$origin : string

server

$path : string

relative path to content

Tags
throws
UnexpectedValueException
Return values
SimpleXMLElement

Search results