protected function buildModel($sourcePath, $options) { $files = CFileHelper::findFiles($sourcePath, $options); $model = new ApiModel(); $model->build($files); return $model; }
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; }