From 5abdafeb9ded0c1c41992f7b3758f1dc02255683 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 12 Oct 2006 07:30:33 +0000 Subject: add unified chm build (quickstart + API + classdocs + wiki) --- buildscripts/phing/tasks/PradoDocTask.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'buildscripts/phing') 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) { -- cgit v1.2.3