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

(pas de description)

Poids: 124 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

Referer:: (9 méthodes):
  Referer()
  getUrl()
  getArticleId()
  getId()
  getCount()
  getHits()
  getBlogId()
  getDate()
  getDateObject()


Classe: Referer  - X-Ref

\ingroup DAO
Represents a record from the 'referers' table, used to keep track
of the referers to articles.

Referer( $url, $articleId, $blogId, $date, $count = 0, $id = 0 )   X-Ref
Constructor. Creates a new constructor object from the given
information.

param: url The url specified in the referer header.
param: articleId The article from which we 'captured' the referer.
param: blogId The blog identifier.
param: date The date of the hit.
param: count How many times this referer has hit the article.
param: id Identifier of the referer.

getUrl()   X-Ref
Returns the url of the referer.

return: The url of the referer.

getArticleId()   X-Ref
Returns the identifier of the article hit by this referer.

return: The article identifier.

getId()   X-Ref
Returns the identifier associated to this referer.

return: The identifier of this object.

getCount()   X-Ref
Returns the number of times this referer has hit this article.

return: The number of times.

getHits()   X-Ref
Aliast for getCount()


getBlogId()   X-Ref
Returns the blog identifier.

return: The blog identifier.

getDate()   X-Ref
Returns the sql date.

return: The date as appears in the database.

getDateObject()   X-Ref
Returns the Timestamp object representing the date.

return: The Timestamp object representing the date.-



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