summaryrefslogtreecommitdiff
path: root/buildscripts/phing/tasks/PradoDocTask.php
diff options
context:
space:
mode:
authorwei <>2006-10-12 07:30:33 +0000
committerwei <>2006-10-12 07:30:33 +0000
commit5abdafeb9ded0c1c41992f7b3758f1dc02255683 (patch)
treec5c344f0285e9b5dcd540eeaa1a701f47e14b4bb /buildscripts/phing/tasks/PradoDocTask.php
parentde630e4134484cea82fd0a1864a45db3bd9974bc (diff)
add unified chm build (quickstart + API + classdocs + wiki)
Diffstat (limited to 'buildscripts/phing/tasks/PradoDocTask.php')
-rw-r--r--buildscripts/phing/tasks/PradoDocTask.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/buildscripts/phing/tasks/PradoDocTask.php b/buildscripts/phing/tasks/PradoDocTask.php
index 3ab891bd..ac64ac5a 100644
--- a/buildscripts/phing/tasks/PradoDocTask.php
+++ b/buildscripts/phing/tasks/PradoDocTask.php
@@ -22,11 +22,18 @@ class PradoDocTask extends Task
private $parseprivate = false;
+ private $quite = false;
+
function setPhpdoc($phpdoc)
{
$this->phpdoc=$phpdoc;
}
+ function setQuite($quite)
+ {
+ $this->quite=$quite;
+ }
+
/**
* Set the title for the generated documentation
*/
@@ -85,7 +92,7 @@ class PradoDocTask extends Task
function main()
{
$arguments = $this->constructArguments();
- exec($this->phpdoc . " " . $arguments, $output, $retval);
+ passthru($this->phpdoc . " " . $arguments, $retval);
}
/**
@@ -93,7 +100,12 @@ class PradoDocTask extends Task
*/
private function constructArguments()
{
- $arguments = "-q \"on\" ";
+ $arguments = " ";
+
+ if($this->quite)
+ {
+ $arguments .= '-q "on" ';
+ }
if ($this->title)
{