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

(pas de description)

Poids: 181 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 4 fois
Nécessite: 0 fichiers

Définit 1 class

MyLinksCategory:: (14 méthodes):
  MyLinksCategory()
  getId()
  getName()
  getBlogId()
  setId()
  setName()
  setBlogId()
  getNumLinks()
  setLinks()
  addLink()
  getLinks()
  setLastModification()
  getLastModification()
  setNumLinks()


Classe: MyLinksCategory  - X-Ref

\ingroup DAO

The links one can add to a blog can also be filed under different categories. This object
are the abstraction of those categories and offer methods to check the value of some of
its attributes.
MyLinksCategory( $name, $blogId, $numLinks = 0, $properties = Array()   X-Ref
Constructor.

param: name Name of the category
param: blogId Identifier of the blog to which it belongs
param: id Identifier of the link

getId()   X-Ref
Returns the identifier assigned to this category in the database.

return: The identifier assigned to this category in the database.

getName()   X-Ref
Returns the name given to this category.

return: A string representing the name of this category.

getBlogId()   X-Ref
Returns the identifier to which this this link category belongs.

return: An integer value.

setId( $id )   X-Ref


setName( $name )   X-Ref


setBlogId( $blogId )   X-Ref


getNumLinks()   X-Ref
Returns how many links have been categorized under this category.

return: Number of links.

setLinks( $links )   X-Ref
sets the links

param: $links
return: True

addLink( $link )   X-Ref
adds a link to the category

param: link A MyLink object
return: nothing

getLinks()   X-Ref
Returns an array of MyLink objects

return: Array of MyLink object

setLastModification( $date )   X-Ref
sets the last modification date

param: date
return: nothing

getLastModification()   X-Ref
returns the last modification date

return: A Timestamp object

setNumLinks( $numLinks )   X-Ref
Pas de description



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