Update html chapter numbering for added Doxygen chapter
This commit is contained in:
parent
62814e4ab7
commit
4cdca98709
31 changed files with 1062 additions and 1039 deletions
|
|
@ -7,7 +7,7 @@
|
|||
</head>
|
||||
|
||||
<body bgcolor="#ffffff">
|
||||
<H1><a name="Php">35 SWIG and PHP</a></H1>
|
||||
<H1><a name="Php">36 SWIG and PHP</a></H1>
|
||||
<!-- INDEX -->
|
||||
<div class="sectiontoc">
|
||||
<ul>
|
||||
|
|
@ -77,7 +77,7 @@ your extension into php directly, you will need the complete PHP source tree
|
|||
available.
|
||||
</p>
|
||||
|
||||
<H2><a name="Php_nn1">35.1 Generating PHP Extensions</a></H2>
|
||||
<H2><a name="Php_nn1">36.1 Generating PHP Extensions</a></H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -128,7 +128,7 @@ and it doesn't play nicely with package system. We don't recommend
|
|||
this approach, or provide explicit support for it.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn1_1">35.1.1 Building a loadable extension</a></H3>
|
||||
<H3><a name="Php_nn1_1">36.1.1 Building a loadable extension</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -143,7 +143,7 @@ least work for Linux though):
|
|||
gcc -shared example_wrap.o example.o -o example.so
|
||||
</pre></div>
|
||||
|
||||
<H3><a name="Php_nn1_3">35.1.2 Using PHP Extensions</a></H3>
|
||||
<H3><a name="Php_nn1_3">36.1.2 Using PHP Extensions</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -191,7 +191,7 @@ This PHP module also defines the PHP classes for the wrapped API, so you'll
|
|||
almost certainly want to include it anyway.
|
||||
</p>
|
||||
|
||||
<H2><a name="Php_nn2">35.2 Basic PHP interface</a></H2>
|
||||
<H2><a name="Php_nn2">36.2 Basic PHP interface</a></H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -202,7 +202,7 @@ other symbols unless care is taken to <tt>%rename</tt> them. At present
|
|||
SWIG doesn't have support for the namespace feature added in PHP 5.3.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn2_1">35.2.1 Constants</a></H3>
|
||||
<H3><a name="Php_nn2_1">36.2.1 Constants</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -280,7 +280,7 @@ would be treated as false! Modern versions of PHP will at least issue
|
|||
a PHP notice by default when this happens.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn2_2">35.2.2 Global Variables</a></H3>
|
||||
<H3><a name="Php_nn2_2">36.2.2 Global Variables</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -329,7 +329,7 @@ undefined.
|
|||
At this time SWIG does not support custom accessor methods.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn2_3">35.2.3 Functions</a></H3>
|
||||
<H3><a name="Php_nn2_3">36.2.3 Functions</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -382,7 +382,7 @@ print $s; # The value of $s was not changed.
|
|||
-->
|
||||
|
||||
|
||||
<H3><a name="Php_nn2_4">35.2.4 Overloading</a></H3>
|
||||
<H3><a name="Php_nn2_4">36.2.4 Overloading</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -437,7 +437,7 @@ taking the integer argument.
|
|||
</p>
|
||||
-->
|
||||
|
||||
<H3><a name="Php_nn2_5">35.2.5 Pointers and References</a></H3>
|
||||
<H3><a name="Php_nn2_5">36.2.5 Pointers and References</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -582,7 +582,7 @@ PHP in a number of ways: by using <tt>unset</tt> on an existing
|
|||
variable, or assigning <tt>NULL</tt> to a variable.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn2_6">35.2.6 Structures and C++ classes</a></H3>
|
||||
<H3><a name="Php_nn2_6">36.2.6 Structures and C++ classes</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -643,7 +643,7 @@ Would be used in the following way from PHP:
|
|||
Member variables and methods are accessed using the <tt>-></tt> operator.
|
||||
</p>
|
||||
|
||||
<H4><a name="Php_nn2_6_1">35.2.6.1 Using -noproxy</a></H4>
|
||||
<H4><a name="Php_nn2_6_1">36.2.6.1 Using -noproxy</a></H4>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -669,7 +669,7 @@ Complex_im_set($obj, $d);
|
|||
Complex_im_get($obj);
|
||||
</pre></div>
|
||||
|
||||
<H4><a name="Php_nn2_6_2">35.2.6.2 Constructors and Destructors</a></H4>
|
||||
<H4><a name="Php_nn2_6_2">36.2.6.2 Constructors and Destructors</a></H4>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -710,7 +710,7 @@ the programmer can either reassign the variable or call
|
|||
<tt>unset($v)</tt>
|
||||
</p>
|
||||
|
||||
<H4><a name="Php_nn2_6_3">35.2.6.3 Static Member Variables</a></H4>
|
||||
<H4><a name="Php_nn2_6_3">36.2.6.3 Static Member Variables</a></H4>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -753,7 +753,7 @@ Ko::threats(10);
|
|||
echo "There have now been " . Ko::threats() . " threats\n";
|
||||
|
||||
</pre></div>
|
||||
<H4><a name="Php_nn2_6_4">35.2.6.4 Static Member Functions</a></H4>
|
||||
<H4><a name="Php_nn2_6_4">36.2.6.4 Static Member Functions</a></H4>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -775,7 +775,7 @@ Ko::threats();
|
|||
</pre></div>
|
||||
|
||||
|
||||
<H4><a name="Php_nn2_6_5">35.2.6.5 Specifying Implemented Interfaces</a></H4>
|
||||
<H4><a name="Php_nn2_6_5">36.2.6.5 Specifying Implemented Interfaces</a></H4>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -793,7 +793,7 @@ so:
|
|||
If there are multiple interfaces, just list them separated by commas.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn2_7">35.2.7 PHP Pragmas, Startup and Shutdown code</a></H3>
|
||||
<H3><a name="Php_nn2_7">36.2.7 PHP Pragmas, Startup and Shutdown code</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -890,7 +890,7 @@ The <tt>%rinit</tt> and <tt>%rshutdown</tt> statements are very similar but inse
|
|||
into the request init (PHP_RINIT_FUNCTION) and request shutdown (PHP_RSHUTDOWN_FUNCTION) code respectively.
|
||||
</p>
|
||||
|
||||
<H2><a name="Php_nn3">35.3 Cross language polymorphism</a></H2>
|
||||
<H2><a name="Php_nn3">36.3 Cross language polymorphism</a></H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -925,7 +925,7 @@ wrapper functions takes care of all the cross-language method routing
|
|||
transparently.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn3_1">35.3.1 Enabling directors</a></H3>
|
||||
<H3><a name="Php_nn3_1">36.3.1 Enabling directors</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -1014,7 +1014,7 @@ class MyFoo extends Foo {
|
|||
</div>
|
||||
|
||||
|
||||
<H3><a name="Php_nn3_2">35.3.2 Director classes</a></H3>
|
||||
<H3><a name="Php_nn3_2">36.3.2 Director classes</a></H3>
|
||||
|
||||
|
||||
|
||||
|
|
@ -1094,7 +1094,7 @@ so there is no need for the extra overhead involved with routing the
|
|||
calls through PHP.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn3_3">35.3.3 Ownership and object destruction</a></H3>
|
||||
<H3><a name="Php_nn3_3">36.3.3 Ownership and object destruction</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -1150,7 +1150,7 @@ In this example, we are assuming that FooContainer will take care of
|
|||
deleting all the Foo pointers it contains at some point.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn3_4">35.3.4 Exception unrolling</a></H3>
|
||||
<H3><a name="Php_nn3_4">36.3.4 Exception unrolling</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -1217,7 +1217,7 @@ Swig::DirectorMethodException is thrown, PHP will register the exception
|
|||
as soon as the C wrapper function returns.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn3_5">35.3.5 Overhead and code bloat</a></H3>
|
||||
<H3><a name="Php_nn3_5">36.3.5 Overhead and code bloat</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -1250,7 +1250,7 @@ optimized by selectively enabling director methods (using the %feature
|
|||
directive) for only those methods that are likely to be extended in PHP.
|
||||
</p>
|
||||
|
||||
<H3><a name="Php_nn3_6">35.3.6 Typemaps</a></H3>
|
||||
<H3><a name="Php_nn3_6">36.3.6 Typemaps</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -1264,7 +1264,7 @@ need to be supported.
|
|||
</p>
|
||||
|
||||
|
||||
<H3><a name="Php_nn3_7">35.3.7 Miscellaneous</a></H3>
|
||||
<H3><a name="Php_nn3_7">36.3.7 Miscellaneous</a></H3>
|
||||
|
||||
|
||||
<p> Director typemaps for STL classes are mostly in place, and hence you
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue