\Horde_Push_Factory_Push

Creates the Horde_Push content object.

Copyright 2011-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_parseArgument()
_parseKolab()
_parsePhp()
_parseYaml()
_createFromData()
No private properties found
N/A

Methods

create()

create(array  $arguments, array  $options, array  $conf) : array

Create the Horde_Push content element.

Parameters

array $arguments

The command line arguments.

array $options

Command line options.

array $conf

The configuration.

Returns

array —

The elements to be pushed.

_parseArgument()

_parseArgument(string  $argument, array  $conf) : \Horde_Push

Parse an argument into a Horde_Push element.

Parameters

string $argument

A single command line argument.

array $conf

The configuration.

Returns

\Horde_Push

The element to be pushed.

_parseKolab()

_parseKolab(string  $argument, array  $conf) : \Horde_Push

Parse the content of a Kolab object into a Horde_Push element.

Parameters

string $argument

A single command line argument (without the scheme argument).

array $conf

The configuration.

Returns

\Horde_Push

The element to be pushed.

_parsePhp()

_parsePhp(string  $argument, array  $conf) : \Horde_Push

Parse the content of a PHP file into a Horde_Push element.

Parameters

string $argument

A single command line argument (without the scheme argument).

array $conf

The configuration.

Returns

\Horde_Push

The element to be pushed.

_parseYaml()

_parseYaml(string  $argument, array  $conf) : \Horde_Push

Parse the content of a YAML file into a Horde_Push element.

Parameters

string $argument

A single command line argument (without the scheme argument).

array $conf

The configuration.

Returns

\Horde_Push

The element to be pushed.

_createFromData()

_createFromData(array  $data) : \Horde_Push

Generate a Horde_Push element based on the provided data.

Parameters

array $data

The data to be pushed.

Returns

\Horde_Push

The element to be pushed.