コード例 #1
0
ファイル: AModel.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Save current form reference and sections list, and initialize the cache
  *
  * @param array $params   Widget params OPTIONAL
  * @param array $sections Sections list OPTIONAL
  *
  * @return void
  */
 public function __construct(array $params = array(), array $sections = array())
 {
     if (!empty($sections)) {
         $this->sections = \Includes\Utils\ArrayManager::filterByKeys($this->sections, $sections);
     }
     parent::__construct($params);
     $this->startCurrentForm();
 }