[ 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/customfields/ -> customfieldsvalues.class.php (sommaire)

(pas de description)

Poids: 180 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 2 fois
Nécessite: 0 fichiers

Définit 1 class

CustomFieldsValues:: (9 méthodes):
  CustomFieldsValues()
  getCustomFieldValue()
  getArticleCustomFieldsValues()
  addCustomFieldValue()
  removeCustomFieldValue()
  removeCustomFieldValues()
  removeArticleCustomFields()
  getSearchConditions()
  mapRow()


Classe: CustomFieldsValues  - X-Ref

Model for the values given to certain custom fields

\ingroup DAO
CustomFieldsValues()   X-Ref
Pas de description

getCustomFieldValue( $id )   X-Ref

param: id
return: A CustomFieldValue object

getArticleCustomFieldsValues( $articleId, $includeHidden = true )   X-Ref
returns an array of CustomFieldValue objects with information about all
the custom fields available for an article

param: articleId The id of the article
param: includeHidden Whether to return hidden fields or not
return: An array of CustomFieldValue objects, or false if error

addCustomFieldValue( $fieldId, $fieldValue, $articleId, $blogId )   X-Ref
adds a custom field value to the given article

param: fieldId
param: fieldValue
param: articleId
param: blogId
return: True if successful or false otherwise

removeCustomFieldValue( $id )   X-Ref
removes a value of a custom field, given its id.

param: id
return: True if deleted successfully or false otherwise.

removeCustomFieldValues( $fieldId )   X-Ref
Removes all the values associated to a certain custom field

param: fieldId
return: True if successful or false otherwise.

removeArticleCustomFields( $articleId )   X-Ref
Removes all the values associated to an article

param: articleId
return: True if deleted successfully or false otherwise.

getSearchConditions( $searchTerms )   X-Ref
Returns the search string needed to find custom fields based on their values

param:
return:

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