svn: /phd/trunk/phpdotnet/phd/Package/PHP/ Functions.php Manpage.php
| From: | Hannes Magnusson | Date: | Wed, 28 Apr 2010 19:01:42 +0000 |
| Subject: | svn: /phd/trunk/phpdotnet/phd/Package/PHP/ Functions.php Manpage.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6511@lists.php.net to get a copy of this message | ||
bjori Wed, 28 Apr 2010 19:01:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298717
Log:
Make more sense of the filename
Changed paths:
D phd/trunk/phpdotnet/phd/Package/PHP/Functions.php
A + phd/trunk/phpdotnet/phd/Package/PHP/Manpage.php
(from phd/trunk/phpdotnet/phd/Package/PHP/Functions.php:r298715)
Deleted: phd/trunk/phpdotnet/phd/Package/PHP/Functions.php
===================================================================
--- phd/trunk/phpdotnet/phd/Package/PHP/Functions.php 2010-04-28 18:58:56 UTC (rev 298716)
+++ phd/trunk/phpdotnet/phd/Package/PHP/Functions.php 2010-04-28 19:01:42 UTC (rev 298717)
@@ -1,67 +0,0 @@
-<?php
-namespace phpdotnet\phd;
-/* $Id$ */
-
-class Package_PHP_Functions extends Package_Generic_Manpage {
-
- protected $elementmap = array(
- );
-
- protected $textmap = array(
- );
-
- protected $CURRENT_ID = "";
-
- /* Current Chunk settings */
- protected $cchunk = array();
- /* Default Chunk settings */
- protected $dchunk = array();
-
- public function __construct() {
- parent::__construct();
-
- $this->registerFormatName("PHP-Functions");
- $this->setTitle("PHP Manual");
- $this->dchunk = array_merge(parent::getDefaultChunkInfo(),
static::getDefaultChunkInfo());
- }
-
- public function __destruct() {
- $this->close();
- }
-
- public function update($event, $val = null) {
- switch($event) {
- case Render::STANDALONE:
- if ($val) {
- $this->registerElementMap(array_merge(parent::getDefaultElementMap(),
$this->elementmap));
- $this->registerTextMap(array_merge(parent::getDefaultTextMap(),
$this->textmap));
- } else {
- $this->registerElementMap(static::getDefaultElementMap());
- $this->registerTextMap(static::getDefaultTextMap());
- }
- break;
- default:
- return parent::update($event, $val);
- break;
- }
- }
-
-
- public function header($index) {
- return ".TH " . strtoupper($this->cchunk["funcname"][$index]) .
" 3 \"" . $this->date . "\" \"PHP Documentation Group\"
\"" . $this->bookName . "\"" . "\n";
- }
-
-
- public function close() {
- foreach ($this->getFileStream() as $fp) {
- fclose($fp);
- }
- }
-
-}
-
-/*
-* vim600: sw=4 ts=4 syntax=php et
-* vim<600: sw=4 ts=4
-*/
-
Copied: phd/trunk/phpdotnet/phd/Package/PHP/Manpage.php (from rev 298715,
phd/trunk/phpdotnet/phd/Package/PHP/Functions.php)
===================================================================
--- phd/trunk/phpdotnet/phd/Package/PHP/Manpage.php (rev 0)
+++ phd/trunk/phpdotnet/phd/Package/PHP/Manpage.php 2010-04-28 19:01:42 UTC (rev 298717)
@@ -0,0 +1,67 @@
+<?php
+namespace phpdotnet\phd;
+/* $Id$ */
+
+class Package_PHP_Functions extends Package_Generic_Manpage {
+
+ protected $elementmap = array(
+ );
+
+ protected $textmap = array(
+ );
+
+ protected $CURRENT_ID = "";
+
+ /* Current Chunk settings */
+ protected $cchunk = array();
+ /* Default Chunk settings */
+ protected $dchunk = array();
+
+ public function __construct() {
+ parent::__construct();
+
+ $this->registerFormatName("PHP-Functions");
+ $this->setTitle("PHP Manual");
+ $this->dchunk = array_merge(parent::getDefaultChunkInfo(),
static::getDefaultChunkInfo());
+ }
+
+ public function __destruct() {
+ $this->close();
+ }
+
+ public function update($event, $val = null) {
+ switch($event) {
+ case Render::STANDALONE:
+ if ($val) {
+ $this->registerElementMap(array_merge(parent::getDefaultElementMap(),
$this->elementmap));
+ $this->registerTextMap(array_merge(parent::getDefaultTextMap(),
$this->textmap));
+ } else {
+ $this->registerElementMap(static::getDefaultElementMap());
+ $this->registerTextMap(static::getDefaultTextMap());
+ }
+ break;
+ default:
+ return parent::update($event, $val);
+ break;
+ }
+ }
+
+
+ public function header($index) {
+ return ".TH " . strtoupper($this->cchunk["funcname"][$index]) .
" 3 \"" . $this->date . "\" \"PHP Documentation Group\"
\"" . $this->bookName . "\"" . "\n";
+ }
+
+
+ public function close() {
+ foreach ($this->getFileStream() as $fp) {
+ fclose($fp);
+ }
+ }
+
+}
+
+/*
+* vim600: sw=4 ts=4 syntax=php et
+* vim<600: sw=4 ts=4
+*/
+