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; }
function newAttributes() { $A = parent::newAttributes(); $A->phimUserID = Session::currentUser()->getID(); return $A; }
function newAttributes() { $A = parent::newAttributes(); $A->OpenWeatherMapUpdateInterval = 60; return $A; }
public function newAttributes() { $A = parent::newAttributes(); $A->JDPort = 8765; return $A; }
function newAttributes() { $A = parent::newAttributes(); $A->phimUserToken = Util::genPassword(40); return $A; }