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

(pas de description)

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

Définit 1 class

MyLinks:: (10 méthodes):
  MyLinks()
  getLinks()
  getNumLinks()
  addMyLink()
  deleteMyLink()
  deleteBlogMyLinks()
  getMyLink()
  updateMyLink()
  getSearchConditions()
  mapRow()


Classe: MyLinks  - X-Ref

\ingroup DAO

Model for the myLinks feature
MyLinks()   X-Ref
Pas de description

getLinks( $blogId, $categoryId = 0, $searchTerms = "", $page = -1, $itemsPerPage = 15 )   X-Ref
Retrieves the links of the given blog.

param: blogId Identifier of the blog
param: categoryId Category of the links
param: searchTerms
param: page
param: itemsPerPage

getNumLinks( $blogId, $categoryId = 0, $searchTerms = "" )   X-Ref
returns how many links a blog has

param: blogId
param: categoryId
param: searchTerms
return: an integer

addMyLink( &$myLink )   X-Ref
Adds a link to the database

param: myLink a MyLink object
param: blogId The blog id
return: True if successful or false otherwise.

deleteMyLink( $linkId, $blogId )   X-Ref
Removes a MyLink object from the database.

param: linkId The link identifier.
param: blogId The blog identifier.
return: True if successful or false otherwise.

deleteBlogMyLinks( $blogId )   X-Ref
Removes all the posts from the given blog

param: blogId The blog identifier

getMyLink( $linkId, $blogId = -1 )   X-Ref
Retrieves a single link from disk.

param: linkId The link identifier
param: blogId The blog identifier
return: The MyLink object containing information or false if it didn't exist

updateMyLink( &$myLink )   X-Ref
Updates a link in the database.

param: myLink A MyLink object with the information we'd like to update.
return: True if successful or false otherwise.

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