コード例 #1
0
ファイル: Repeater.php プロジェクト: agentmedia/phine-builtin
 /**
  * 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();
 }
コード例 #2
0
 /**
  * Gets the associated repeater database schema
  * @return ContentRepeaterSchema
  */
 protected function ElementSchema()
 {
     return ContentRepeater::Schema();
 }