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

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
   4      
   5      /**
   6       * offers methods for dealing with custom fields that use drop-down lists that
   7       * allows to select one of the values
   8       *
   9       * \ingroup DAO
  10       */
  11      class CustomFieldListValue extends CustomFieldValue
  12      {        
  13          /**
  14           * constructor
  15           *
  16           * @see CustomFieldValue
  17           */
  18  		function CustomFieldListValue( $fieldId, $fieldValue, $articleId, $blogId, $id = -1 )
  19          {
  20              $this->CustomFieldValue( $fieldId, $fieldValue, $articleId, $blogId, $id );
  21              $this->setValue( $fieldValue );
  22          }
  23          
  24  		function getFieldValues()
  25          {
  26              $field = $this->getCustomField();
  27              return( $this->getFieldValues());
  28          }
  29      }
  30      
  31  ?>


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