[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/dao/ -> globalarticlecategories.class.php (sommaire)

(pas de description)

Poids: 157 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 12 fois
Nécessite: 0 fichiers

Définit 1 class

GlobalArticleCategories:: (10 méthodes):
  GlobalArticleCategories()
  getGlobalArticleCategory()
  addGlobalArticleCategory()
  deleteGlobalArticleCategory()
  updateGlobalArticleCategory()
  getNumGlobalArticleCategories()
  getGlobalArticleCategories()
  getNumArticlesGlobalCategory()
  getSearchConditions()
  mapRow()


Classe: GlobalArticleCategories  - X-Ref

\ingroup DAO

Provides an interface for working with GlobalArticleCategory objects
GlobalArticleCategories()   X-Ref
Pas de description

getGlobalArticleCategory( $id )   X-Ref
loads the given blog category

param: id
return: false if there was an error loading or a BlogCategory object if it was found

addGlobalArticleCategory( &$category )   X-Ref
adds a new global article category

param: category A GlobalArticleCategory object
return: true if successful or false otherwise. Upon success, $category->getId() will

deleteGlobalArticleCategory( $id )   X-Ref
deletes a blog category. Warning: the upper layers must have already made sure that there
are no blogs that point to this blog categories *before* removing it, or else we could have
problems with data integrity.

param: id
return: True if successful, false otherwise

updateGlobalArticleCategory( $category )   X-Ref
update a given global article category

param: category A GlobalArticleCategory object
return: True if successful or false otherwise

getNumGlobalArticleCategories( $searchTerms = "" )   X-Ref
returns the total amount of global article categories in the database

param: searchTerms
return: an integer

getGlobalArticleCategories( $searchTerms = "", $page = -1, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )   X-Ref
returns all blog categories

param: searchTerms
param: page
param: itemsPerPage
return: An array of BlogCategory objects or false in case of error

getNumArticlesGlobalCategory( $categoryId, $status = ARTICLE_STATUS_ALL )   X-Ref
returns how many blogs have been categorized under this category

param: categoryId
param: status
return: an integer

getSearchConditions( $searchTerms )   X-Ref


mapRow( $row )   X-Ref




Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics