*
* $Id$
*
- * Copyright 2005 Ben Klang <ben@alkaloid.net>
+ * Copyright 2005-2009 Ben Klang <ben@alkaloid.net>
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
* @package Shout
*/
-// {{{ Shout_Driver class
class Shout_Driver {
- // {{{ Class local variables
/**
* Hash containing connection parameters.
*
*/
var $_params = array();
- // }}}
-
- // {{{ Shout_Driver constructor
function Shout_Driver($params = array())
{
$this->_params = $params;
}
- // }}}
- // {{{ getContexts function
/**
* Get a list of contexts from the instantiated driver and filter
* the returned contexts for those which the current user can see/edit
{
return PEAR::raiseError("This function is not implemented.");
}
- // }}}
- // {{{ checkContextType
/**
* For the given context and type, make sure the context has the
* appropriate properties, that it is effectively of that "type"
{
return PEAR::raiseError("This function is not implemented.");
}
- //}}}
- // {{{
/**
* Get a list of users valid for the current context. Return an array
* indexed by the extension.
{
return PEAR::raiseError("This function is not implemented.");
}
- // }}}
- // {{{ getHomeContext method
/**
* Returns the name of the user's default context
*
{
return PEAR::raiseError("This function is not implemented.");
}
- // }}}
- // {{{
/**
* Get a context's properties
*
{
return PEAR::raiseError("This function is not implemented.");
}
- // }}}
- // {{{ getExtensions method
/**
* Get a context's extensions and return as a multi-dimensional associative
* array
{
return PEAR::raiseError("This function is not implemented.");
}
- // }}}
- // {{{ factory method
/**
* Attempts to return a concrete Shout_Driver instance based on
* $driver.
return false;
}
}
- // }}}
- // {{{ singleton method
/**
* Attempts to return a reference to a concrete Shout_Driver
* instance based on $driver. It will only create a new instance