Exemple #1
0
 public function newAttributes()
 {
     $A = parent::newAttributes();
     $A->AuftragID = "-1";
     $A->KategorieID = "0";
     $A->type = "default";
     $mwst = 0;
     if (Session::isPluginLoaded("Kategorien")) {
         $AC = anyC::get("Kategorie", "type", "1");
         $AC->addAssocV3("isDefault", "=", "1");
         $M = $AC->getNextEntry();
         if ($M != null) {
             $A->KategorieID = $M->getID();
         }
     }
     if ($this->customizer != null) {
         $this->customizer->customizeNewAttributes($this->getClearClass(get_class($this)), $A);
     }
     return $A;
 }
Exemple #2
0
 function newAttributes()
 {
     $A = parent::newAttributes();
     $A->phimUserID = Session::currentUser()->getID();
     return $A;
 }
 function newAttributes()
 {
     $A = parent::newAttributes();
     $A->OpenWeatherMapUpdateInterval = 60;
     return $A;
 }
Exemple #4
0
 public function newAttributes()
 {
     $A = parent::newAttributes();
     $A->JDPort = 8765;
     return $A;
 }
Exemple #5
0
 function newAttributes()
 {
     $A = parent::newAttributes();
     $A->phimUserToken = Util::genPassword(40);
     return $A;
 }