mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
parent
2513f792fc
commit
2e8ef0a1bd
17 changed files with 18 additions and 18 deletions
|
@ -138,7 +138,7 @@
|
|||
<para>
|
||||
So with PHP, you have the freedom of choosing an operating
|
||||
system and a web server. Furthermore, you also have the choice
|
||||
of using procedural programming or object oriented
|
||||
of using procedural programming or object-oriented
|
||||
programming (OOP), or a mixture of them both.
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -282,7 +282,7 @@ echo "\n\n";
|
|||
<para>
|
||||
Internal PHP functions mainly use
|
||||
<link linkend="ini.error-reporting">Error reporting</link>, only modern
|
||||
<link linkend="language.oop5">Object oriented</link>
|
||||
<link linkend="language.oop5">Object-oriented</link>
|
||||
extensions use exceptions. However, errors can be easily translated to
|
||||
exceptions with <link linkend="class.errorexception">ErrorException</link>.
|
||||
This technique only works with non-fatal errors, however.
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<note>
|
||||
<para>
|
||||
PHP's interpretation of <quote>overloading</quote> is
|
||||
different than most object oriented languages. Overloading
|
||||
different than most object-oriented languages. Overloading
|
||||
traditionally provides the ability to have multiple methods
|
||||
with the same name but different quantities and types of
|
||||
arguments.
|
||||
|
|
|
@ -52,7 +52,7 @@ try {
|
|||
// For demonstration purposes only...
|
||||
print_r(DateTime::getLastErrors());
|
||||
|
||||
// The real object oriented way to do this is
|
||||
// The real object-oriented way to do this is
|
||||
// echo $e->getMessage();
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
A pseudo-object oriented mechanism for reading a directory. The
|
||||
A pseudo-object-oriented mechanism for reading a directory. The
|
||||
given <parameter>directory</parameter> is opened.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<section xml:id="finfo.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
This class provides an object oriented interface into the fileinfo
|
||||
This class provides an object-oriented interface into the fileinfo
|
||||
functions.
|
||||
</para>
|
||||
</section>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</para>
|
||||
<note>
|
||||
<para>
|
||||
No object oriented interface is provided to manipulate
|
||||
No object-oriented interface is provided to manipulate
|
||||
<classname>GMP</classname> objects. Please use the
|
||||
<link linkend="book.gmp">procedural GMP API</link>.
|
||||
</para>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<preface xml:id="intro.memcache">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Memcache module provides handy procedural and object oriented interface
|
||||
Memcache module provides handy procedural and object-oriented interface
|
||||
to memcached, highly effective caching daemon, which was especially
|
||||
designed to decrease database load in dynamic web applications.
|
||||
</para>
|
||||
|
|
|
@ -98,7 +98,7 @@ A world full of choices to please everybody.
|
|||
</example>
|
||||
</para>
|
||||
<para>
|
||||
The object oriented interface is used for the quickstart because the
|
||||
The object-oriented interface is used for the quickstart because the
|
||||
reference section is organized that way.
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -378,7 +378,7 @@
|
|||
</tgroup>
|
||||
</table>
|
||||
<para>
|
||||
<emphasis role="bold">C Object Oriented Paradigm</emphasis>
|
||||
<emphasis role="bold">C Object-Oriented Paradigm</emphasis>
|
||||
</para>
|
||||
<para>
|
||||
At the code level, <literal>mysqlnd</literal> uses a C pattern for
|
||||
|
@ -391,7 +391,7 @@
|
|||
</para>
|
||||
<para>
|
||||
Unlike with other languages such as C++ or Java, there are no fixed
|
||||
rules on inheritance in the C object oriented paradigm. However,
|
||||
rules on inheritance in the C object-oriented paradigm. However,
|
||||
there are some conventions that need to be followed that will be
|
||||
discussed later.
|
||||
</para>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<section xml:id="splfileinfo.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
The SplFileInfo class offers a high-level object oriented interface to
|
||||
The SplFileInfo class offers a high-level object-oriented interface to
|
||||
information for an individual file.
|
||||
</para>
|
||||
</section>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<section xml:id="splfileobject.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
The SplFileObject class offers an object oriented interface for a file.
|
||||
The SplFileObject class offers an object-oriented interface for a file.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<section xml:id="spltempfileobject.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
The SplTempFileObject class offers an object oriented interface for a temporary file.
|
||||
The SplTempFileObject class offers an object-oriented interface for a temporary file.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<preface xml:id="intro.stomp">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
This extension allows php applications to communicate with any Stomp compliant Message Brokers through easy object oriented and procedural interfaces. <link xlink:href="&url.stomp;">Stomp official site</link>
|
||||
This extension allows php applications to communicate with any Stomp compliant Message Brokers through easy object-oriented and procedural interfaces. <link xlink:href="&url.stomp;">Stomp official site</link>
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
allows you to not only clean and otherwise manipulate HTML, XHTML,
|
||||
and XML documents, but also traverse the document tree, including
|
||||
ones with embedded scripting languages such as PHP or ASP within
|
||||
them using object oriented constructs.
|
||||
them using object-oriented constructs.
|
||||
</para>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
forward-only means of generating streams or files containing XML data.
|
||||
</para>
|
||||
<para>
|
||||
This extension can be used in an object oriented style or a procedural
|
||||
This extension can be used in an object-oriented style or a procedural
|
||||
one. Every method documented describes the alternative procedural call.
|
||||
</para>
|
||||
</preface>
|
||||
|
|
|
@ -124,7 +124,7 @@ echo xmlwriter_output_memory($xw);
|
|||
<section xml:id="example.xmlwriter-oop">
|
||||
<title>Working with the OO API</title>
|
||||
<para>
|
||||
This example shows how to work with XMLWriter's object oriented API.
|
||||
This example shows how to work with XMLWriter's object-oriented API.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue