PHP Class TimeObjects_Driver_Base, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
Author: Michael J. Rubinsky ([email protected])
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_params

Public Methods

Method Description
__construct ( array $params ) Constructor
ensure ( ) Ensure we have minimum requirements for concrete driver to run.
factory ( $name, array $params = [] ) : TimeObjects_Driver Factory method
listTimeObjects ( Horde_Date $start = null, Horde_Date $end = null ) : array Get a list of TimeObjects.

Method Details

__construct() public method

Constructor
public __construct ( array $params )
$params array The parameter array.

ensure() abstract public method

Ensure we have minimum requirements for concrete driver to run.
abstract public ensure ( )

factory() public method

Factory method
public factory ( $name, array $params = [] ) : TimeObjects_Driver
$name
$params array
return TimeObjects_Driver

listTimeObjects() abstract public method

Get a list of TimeObjects.
abstract public listTimeObjects ( Horde_Date $start = null, Horde_Date $end = null ) : array
$start Horde_Date
$end Horde_Date
return array The array of time objects.

Property Details

$_params protected property

protected $_params