Exemplo n.º 1
0
 /**
  * Set a property as a double.
  *
  * @param
  *        	string name
  *        	The name of the property.
  * @param
  *        	double d
  *        	The value of the property.
  */
 public function setProperty($name, $d)
 {
     $this->properties[$name] = strval(CSVFormat::$EG_FORMAT->format($d, Encog\DEFAULT_PRECISION));
     updateProperties();
 }
Exemplo n.º 2
0
                         } else {
                             if (isset($_POST['delGroup'])) {
                                 removeGroup();
                             } else {
                                 if (isset($_POST['updateGroup'])) {
                                     updateGroup();
                                 } else {
                                     if (isset($_POST['update_group_key'])) {
                                         updateGroupKey();
                                     } else {
                                         if ($_GET['action'] == add) {
                                         } else {
                                             if ($_GET['action'] == remove) {
                                             } else {
                                                 if (isset($_POST['updateProp'])) {
                                                     updateProperties($properties);
                                                 } else {
                                                     displayLDAP($properties);
                                                 }
                                             }
                                         }
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }