[ 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/ -> articlenotification.class.php (source)

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
   4  
   5      /**
   6       * \ingroup DAO
   7       * There is a feature where the owner of a post (or all the users who belong
   8       * to that blog) can receive an email whenever a new comment is added. This class
   9       * represents a notification.
  10       */
  11      class ArticleNotification extends DbObject 
  12      {
  13  
  14          var $_id;
  15          var $_userId;
  16          var $_blogId;
  17          var $_articleId;
  18  
  19          /**
  20           * Creates a new object
  21           */
  22          function ArticleNotification( $userId, $blogId, $articleId, $id = -1 )
  23          {
  24              $this->DbObject();
  25              $this->_userId = $userId;
  26              $this->_blogId = $blogId;
  27              $this->_articleId = $articleId;
  28              $this->_id = $id;
  29          }
  30  
  31          function getId()
  32          {
  33              return $this->_id;
  34          }
  35  
  36          function getBlogId()
  37          {
  38              return $this->_blogId;
  39          }
  40  
  41          function getArticleId()
  42          {
  43              return $this->_articleId;
  44          }
  45  
  46          function getUserId()
  47          {
  48              return $this->_userId;
  49          }
  50      }
  51  ?>


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