Expanded the export feature of gh-53 to bundle the data into package.

This commit is contained in:
2017-03-21 00:07:14 +02:00
parent 3c610acb31
commit 63b1bac955
191 changed files with 481 additions and 291 deletions

View File

@ -3428,22 +3428,9 @@ class Interpretation extends Fields
}
}
public function writeFile($path,$data)
public function writeFile($path, $data)
{
$fh = fopen($path, "w");
if (!is_resource($fh))
{
return false;
}
if (fwrite($fh, $data))
{
// close file.
fclose($fh);
return true;
}
// close file.
fclose($fh);
return false;
return ComponentbuilderHelper::writeFile($path, $data);
}
public function setMethodGetItem(&$view)