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

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/dao/mylink.class.php" );
   4      
   5      /**
   6       * used for the archive links, it extends it adding an additional method to fetch
   7       * the number of posts in that month
   8       *
   9       * @private
  10       *
  11       * \ingroup DAO
  12       */
  13      class ArchiveLink extends MyLink
  14      {
  15          var $_numPosts;
  16          
  17  		function ArchiveLink( $name, $description, $url, $blogId, $categoryId, $numPosts, $id = -1)
  18          {
  19              $this->MyLink( $name, $description, $url, $blogId, $categoryId, 0, "", $id );
  20              
  21              $this->_numPosts = $numPosts;
  22          }
  23          
  24  		function getNumArticles()
  25          {
  26              return $this->_numPosts;
  27          }
  28      }
  29  ?>


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