コード例 #1
0
 /**
  * Lookup the given value from the gender array.
  * @param integer $id
  * @param string $form Not used for this method.
  * @return string
  */
 public static function lookupStatus($id, $form = "")
 {
     return I2CE_Form::lookupArray($id, self::$stati);
 }
コード例 #2
0
 /**
  * Lookup the given value from the status array.
  * @param integer $id
  * @param string $form Not used for this method.
  * @return string
  */
 public static function lookupType($id, $form = "")
 {
     return I2CE_Form::lookupArray($id, self::$types);
 }