コード例 #1
0
ファイル: Form.php プロジェクト: Kervinou/OBM
 /**
  * standard constructor
  * @param  string $entity   the entity type (may be 'Host')
  * @param  string $args     optionnal arguments
  * @access public
  **/
 public function __construct($entity, $args = null) {
   $this->descriptor = OBM_Services::getInstance();
   if (is_array($args)) {
     $data  = is_array($args['data'])  ? $args['data']  : null;
     $files = is_array($args['files']) ? $args['files'] : null;
     parent::__construct($data, $files);
   }
 }