protected function Init() { $this->register = ContentRegisterSimple::Schema()->ByContent($this->Content()); $this->AddNameField(); $this->AddEMailField(); $this->AddPasswordField(); $this->AddTermsField(); $this->AddUniqueSubmit('RegisterSubmit'); return parent::Init(); }
/** * Gets The schema associated with this form * @return \Phine\Database\BuiltIn\ContentRegisterSimpleSchema Gets the register simple table schema */ protected function ElementSchema() { return ContentRegisterSimple::Schema(); }