예제 #1
0
파일: Fieldset.php 프로젝트: fuelphp/legacy
 /**
  * Object constructor
  *
  * @param  string
  * @param  array
  */
 protected function __construct($name, array $config = array())
 {
     // Grab the form attributes
     $formAttributes = Arr::get($config, 'form_attributes', array());
     $this->form = new Form();
     $this->form->setAttributes($formAttributes);
     $this->form->setName($name);
 }