Example #1
0
 protected function buildModel($sourcePath, $options)
 {
     $files = CFileHelper::findFiles($sourcePath, $options);
     $model = new ApiModel();
     $model->build($files);
     return $model;
 }
Example #2
0
 protected function buildModel($sourcePath, $options)
 {
     $files = CFileHelper::findFiles($sourcePath, $options);
     $files[] = $this->root . '/util/XSDataSource.class.php';
     $files[] = $this->root . '/util/XSUtil.class.php';
     $model = new ApiModel();
     $model->build($files);
     return $model;
 }