/** * Initializes the repeater frontend module * @return boolean Returns tru */ protected function Init() { $this->repeater = ContentRepeater::Schema()->ByContent($this->content); $this->current = $this->tree->FirstChildOf($this->item); $this->isEmpty = !$this->current; return parent::Init(); }
/** * Gets the associated repeater database schema * @return ContentRepeaterSchema */ protected function ElementSchema() { return ContentRepeater::Schema(); }