Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitCouchDbFaqCategoriesFacade

Faq::Facade::arbitCouchDbFaqCategoriesFacade

Class arbitCouchDbFaqCategoriesFacade

Project facade defining all methods required to access faq_categories related data in the backend.

Project facade defining all methods required to access faq_categories related data in the backend.

Implements interfaces:

arbitCouchDbFacadeBase
   |
   --arbitCouchDbFaqCategoriesFacade
Author(s):
Version:   $Revision: 1236 $
License:   GPL

Inherited Member Variables

From arbitCouchDbFacadeBase
protected arbitCouchDbFacadeBase::$connected
protected arbitCouchDbFacadeBase::$manager

Method Summary

public array getCategories( )
Get FAQ categories The categories are available in a multidimensional array, where the name of the category is the key and its children are available in an array in the respective value.
public void setCategories( $data )
Set categories Store the FAQ categories, given as a multidimensional array, in the same structure getCategories() returns.

Inherited Methods

From arbitCouchDbFacadeBase
public void arbitCouchDbFacadeBase::__construct()
Constructor The constructor ensures the correct configuration for the conenction by connecting on the first request to on of the facde classes.

Methods

getCategories

array getCategories( )

Get FAQ categories The categories are available in a multidimensional array, where the name of the category is the key and its children are available in an array in the respective value.

Get FAQ categories The categories are available in a multidimensional array, where the name of the category is the key and its children are available in an array in the respective value. The array looks like:

  1.   array(
  2.       'website' => array(),
  3.       'faq_categories' => array(
  4.           'backend' => array(),
  5.           'frontend' => array(),
  6.       ),
  7.   )

Implementation of:
Method Description
arbitFaqCategoriesFacade::getCategories() Get FAQ categories The categories are available in a multidimensional array, where the name of the category is the key and its children are available in an array in the respective value.

setCategories

void setCategories( $data )

Set categories Store the FAQ categories, given as a multidimensional array, in the same structure getCategories() returns.

Set categories Store the FAQ categories, given as a multidimensional array, in the same structure getCategories() returns. The array looks like:

  1.   array(
  2.       'website' => array(),
  3.       'faq_categories' => array(
  4.           'backend' => array(),
  5.           'frontend' => array(),
  6.       ),
  7.   )

Parameters:
Name Type Description
$data array
Implementation of:
Method Description
arbitFaqCategoriesFacade::setCategories() Set categories Store the FAQ categories, given as a multidimensional array, in the same structure getCategories() returns.
Documentation generated on Mon, 05 Apr 2010 14:01:39 +0200 by phpDocumentor 1.4.3