TimeObjects_Driver_Base
in package
Base TimeObjects_Driver.
Copyright 2009-2017 Horde LLC (http://www.horde.org/)
Tags
Table of Contents
- $_params : mixed
- __construct() : mixed
- Constructor
- ensure() : mixed
- Ensure we have minimum requirements for concrete driver to run.
- factory() : TimeObjects_Driver
- Factory method
- listTimeObjects() : array<string|int, mixed>
- Get a list of TimeObjects.
Properties
$_params
protected
mixed
$_params
= array()
Methods
__construct()
Constructor
public
__construct(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
-
The parameter array.
Return values
mixed —ensure()
Ensure we have minimum requirements for concrete driver to run.
public
abstract ensure() : mixed
Return values
mixed —factory()
Factory method
public
factory( $name[, $params = array() ]) : TimeObjects_Driver
Parameters
Return values
TimeObjects_Driver —listTimeObjects()
Get a list of TimeObjects.
public
abstract listTimeObjects([ $start = null ][, $end = null ]) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —The array of time objects.