cvs: phd / config.php

From: Date: Wed, 03 Jun 2009 19:42:42 +0000
Subject: cvs: phd / config.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4108@lists.php.net to get a copy of this message
moacir Wed Jun 3 19:42:42 2009 UTC Modified files: /phd config.php Log: Begin merging from ENTERPRISE. No themes in config.php http://cvs.php.net/viewvc.cgi/phd/config.php?r1=1.56&r2=1.57&diff_format=u Index: phd/config.php diff -u phd/config.php:1.56 phd/config.php:1.57 --- phd/config.php:1.56 Sun Jan 25 19:59:26 2009 +++ phd/config.php Wed Jun 3 19:42:42 2009 @@ -1,5 +1,5 @@ <?php -/* $Id: config.php,v 1.56 2009/01/25 19:59:26 cweiske Exp $ */ +/* $Id: config.php,v 1.57 2009/06/03 19:42:42 moacir Exp $ */ require $ROOT . "/include/PhDErrors.php"; @@ -10,27 +10,8 @@ private static $optionArray = array( 'output_format' => array( 'xhtml', - 'manpage', - 'pdf', - ), - 'output_theme' => array( - 'xhtml' => array( - 'php' => array( - 'phpweb', - 'chunkedhtml', - 'bightml', - 'chmsource', - ), - ), - 'manpage' => array( - 'php' => array( - 'phpfunctions', - ), - ), - 'pdf' => array( - 'php' => array( - ), - ), + 'php', + 'bigxhtml', ), 'chunk_extra' => array( "legalnotice" => true, @@ -38,7 +19,8 @@ ), 'index' => true, 'xml_root' => '.', - 'xml_file' => './.manual.xml', + 'xml_file' => "./.manual.xml", + 'lang_dir' => './', 'language' => 'en', 'verbose' => VERBOSE_DEFAULT, 'date_format' => "H:i:s", @@ -48,6 +30,7 @@ ), 'color_output' => false, 'output_dir' => '.', + 'intermediate_output_dir' => '.', 'php_error_output' => NULL, 'php_error_color' => false, 'user_error_output' => NULL, @@ -55,10 +38,14 @@ 'phd_info_output' => NULL, 'phd_info_color' => false, 'highlighter' => 'PhDHighlighter', + 'package' => 'PHP', ); - public static function __callStatic($name, $params) - { + public static function init(array $a) { + self::$optionArray = array_merge(self::$optionArray, (array)$a); + } + + public static function __callStatic($name, $params) { $name = strtolower($name); // FC if this becomes case-sensitive if (strncmp($name, 'set', 3) === 0) { $name = substr($name, 3);

« previous php.doc.cvs (#4108) next »