public function populateDefaults() { parent::populateDefaults(); if (!$this->Title) { $this->Title = _t('SecurityAdmin.NEWGROUP', "New Group"); } }
public function populateDefaults() { $this->Title = _t('SiteConfig.SITENAMEDEFAULT', "Your Site Name"); $this->Tagline = _t('SiteConfig.TAGLINEDEFAULT', "your tagline here"); // Allow these defaults to be overridden parent::populateDefaults(); }
public function populateDefaults() { $this->Positions = 'asdfasdfasfd'; //serialize( array('header','footer','sidebar') ); // Allow these defaults to be overridden parent::populateDefaults(); }
public function populateDefaults() { parent::populateDefaults(); $this->animation = "slide"; $this->easing = "linear"; $this->direction = "horizontal"; $this->reverse = 0; $this->animationLoop = 0; $this->slideshow = 0; $this->slideshowSpeed = 7000; $this->animationSpeed = 600; $this->randomize = 0; $this->showControlNav = 1; }
public function populateDefaults() { parent::populateDefaults(); }
/** * standard SS method */ function populateDefaults() { parent::populateDefaults(); if (Security::database_is_ready()) { $this->AuthorID = Member::currentUserID(); } }
/** * Standard SS Method * @var Array */ public function populateDefaults() { parent::populateDefaults(); $this->ReceiptEmail = Email::getAdminEmail(); }
/** * Standard SS Method * @var Array */ public function populateDefaults() { parent::populateDefaults(); $this->ReceiptEmail = Email::config()->admin_email; }
/** * standard SS method */ function populateDefaults() { parent::populateDefaults(); //can only run after first dev/build if (Security::database_is_ready()) { $controller = Controller::curr(); if ($controller instanceof DatabaseAdmin) { //cant do this now. } else { if ($this->EcomConfig()->ShopPricesAreTaxExclusive) { $this->InclusiveOrExclusive = "Exclusive"; } else { $this->InclusiveOrExclusive = "Inclusive"; } } } }
public function populateDefaults() { parent::populateDefaults(); $this->MyFieldWithAltDefault = 'Default Value'; }
public function populateDefaults() { parent::populateDefaults(); $this->updateWithLastInfo(); }
function populateDefaults() { parent::populateDefaults(); $this->Amount->Currency = Payment::site_currency(); $this->setClientIP(); }
public function populateDefaults() { $this->StartDate = date('Y-m-d H:i:s'); parent::populateDefaults(); }
public function populateDefaults() { parent::populateDefaults(); $this->setField('Title', $this->getTitle()); }
public function populateDefaults() { parent::populateDefaults(); $this->Date = date("Y-m-d H:i"); }
public function populateDefaults() { $this->Description = $this->stat('handler_description'); $this->SubmitButtonText = _t("FlexiFormHandler.DEFAULT_SUBMIT_BUTTON_TEXT", "Submit"); return parent::populateDefaults(); }
/** * Standard SS Method * Adds the default currency */ public function populateDefaults() { parent::populateDefaults(); $this->InUse = true; }
/** * standard SS method */ function populateDefaults() { parent::populateDefaults(); $this->AuthorID = Member::currentUserID(); }
/** *standard SS method * **/ function populateDefaults() { parent::populateDefaults(); if (!$this->SessionID) { $this->SessionID = session_id(); } }
public function populateDefaults() { $this->Sort = 100; parent::populateDefaults(); }
public function populateDefaults() { $this->Template = $this->class; parent::populateDefaults(); }
/** * Set currency to default one. * Set IP address * */ function populateDefaults() { parent::populateDefaults(); $this->Amount->Currency = EcommerceConfig::get("EcommerceCurrency", "default_currency"); $this->setClientIP(); }
public function populateDefaults() { $this->IPAddress = Controller::curr()->getRequest()->getIP(); $this->MemberID = Member::currentUserID(); return parent::populateDefaults(); }
public function populateDefaults() { $this->DueDate = date("Y-m-d", strtotime("+3 weeks")); $this->Returned = false; parent::populateDefaults(); }
public function populateDefaults() { parent::populateDefaults(); $this->Status = $this->config()->default_status; $this->Action = $this->config()->default_action; }
/** * standard SS method */ function populateDefaults() { parent::populateDefaults(); $this->Description = $this->myDescription(); }
/** * Ensure the locale is set to something sensible by default. */ public function populateDefaults() { parent::populateDefaults(); $this->Locale = i18n::get_closest_translation(i18n::get_locale()); }
/** * standard SS method */ function populateDefaults() { parent::populateDefaults(); $this->AllowPurchase = 1; }
/** * Ensure the locale is set to something sensible by default. */ public function populateDefaults() { parent::populateDefaults(); $this->Locale = i18n::get_locale(); }
/** * standard SS method * */ function populateDefaults() { parent::populateDefaults(); $this->Code = $this->createRandomCode(); $this->isNew = true; }