mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
Remove references to PHP4/PHP5-only extensions
- apc - apd - crack - cyrus - fam - haru - htscanner - hwapi - ming - mcve - mnogosearch - yp git-svn-id: https://svn.php.net/repository/phpdoc/pt_BR/trunk@350705 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: b563747cb372454545dc2e9337db8faef4822f34 Maintainer: ae Status: ready --><!-- CREDITS: felipe,rarruda,ae,pasf,fibbarth -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: ae Status: ready --><!-- CREDITS: felipe, rarruda, ae, pasf, fibbarth, adiel -->
|
||||
<appendix xml:id="aliases" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Lista de funções sinônimas (aliases)</title>
|
||||
<para>
|
||||
@@ -31,56 +31,6 @@
|
||||
<entry><function>gettext</function></entry>
|
||||
<entry><link linkend="ref.gettext">Gettext</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>add</entry>
|
||||
<entry><function>swfmovie_add</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>add</entry>
|
||||
<entry><function>swfsprite_add</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>addaction</entry>
|
||||
<entry><function>swfbutton_addAction</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>addcolor</entry>
|
||||
<entry><function>swfdisplayitem_addColor</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>addentry</entry>
|
||||
<entry><function>swfgradient_addEntry</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>addfill</entry>
|
||||
<entry><function>swfshape_addfill</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>addshape</entry>
|
||||
<entry><function>swfbutton_addShape</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>addstring</entry>
|
||||
<entry><function>swftext_addString</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>addstring</entry>
|
||||
<entry><function>swftextfield_addString</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>align</entry>
|
||||
<entry><function>swftextfield_align</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>chop</entry>
|
||||
<entry><function>rtrim</function></entry>
|
||||
@@ -121,51 +71,6 @@
|
||||
<entry><function>floatval</function></entry>
|
||||
<entry>Base syntax</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawarc</entry>
|
||||
<entry><function>swfshape_drawarc</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawcircle</entry>
|
||||
<entry><function>swfshape_drawcircle</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawcubic</entry>
|
||||
<entry><function>swfshape_drawcubic</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawcubicto</entry>
|
||||
<entry><function>swfshape_drawcubicto</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawcurve</entry>
|
||||
<entry><function>swfshape_drawcurve</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawcurveto</entry>
|
||||
<entry><function>swfshape_drawcurveto</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawglyph</entry>
|
||||
<entry><function>swfshape_drawglyph</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawline</entry>
|
||||
<entry><function>swfshape_drawline</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>drawlineto</entry>
|
||||
<entry><function>swfshape_drawlineto</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>fbsql</entry>
|
||||
<entry><function>fbsql_db_query</function></entry>
|
||||
@@ -176,66 +81,6 @@
|
||||
<entry><function>fwrite</function></entry>
|
||||
<entry>Base syntax</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getascent</entry>
|
||||
<entry><function>swffont_getAscent</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getascent</entry>
|
||||
<entry><function>swftext_getAscent</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getdescent</entry>
|
||||
<entry><function>swffont_getDescent</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getdescent</entry>
|
||||
<entry><function>swftext_getDescent</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getheight</entry>
|
||||
<entry><function>swfbitmap_getHeight</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getleading</entry>
|
||||
<entry><function>swffont_getLeading</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getleading</entry>
|
||||
<entry><function>swftext_getLeading</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getshape1</entry>
|
||||
<entry><function>swfmorph_getShape1</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getshape2</entry>
|
||||
<entry><function>swfmorph_getShape2</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getwidth</entry>
|
||||
<entry><function>swfbitmap_getWidth</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getwidth</entry>
|
||||
<entry><function>swffont_getWidth</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>getwidth</entry>
|
||||
<entry><function>swftext_getWidth</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>gzputs</entry>
|
||||
<entry><function>gzwrite</function></entry>
|
||||
@@ -371,16 +216,6 @@
|
||||
<entry><function>array_key_exists</function></entry>
|
||||
<entry>Base syntax</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>labelframe</entry>
|
||||
<entry><function>swfmovie_labelFrame</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>labelframe</entry>
|
||||
<entry><function>swfsprite_labelFrame</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ldap_close</entry>
|
||||
<entry><function>ldap_unbind</function></entry>
|
||||
@@ -416,46 +251,6 @@
|
||||
<entry><function>mb_substr</function></entry>
|
||||
<entry><link linkend="ref.mbstring">Multi-bytes Strings</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ming_setcubicthreshold</entry>
|
||||
<entry><function>ming_setCubicThreshold</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ming_setscale</entry>
|
||||
<entry><function>ming_setScale</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>move</entry>
|
||||
<entry><function>swfdisplayitem_move</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>movepen</entry>
|
||||
<entry><function>swfshape_movepen</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>movepento</entry>
|
||||
<entry><function>swfshape_movepento</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>moveto</entry>
|
||||
<entry><function>swfdisplayitem_moveTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>moveto</entry>
|
||||
<entry><function>swffill_moveTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>moveto</entry>
|
||||
<entry><function>swftext_moveTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>msql</entry>
|
||||
<entry><function>msql_db_query</function></entry>
|
||||
@@ -736,11 +531,6 @@
|
||||
<entry><function>sybase_select_db</function></entry>
|
||||
<entry><link linkend="ref.sybase">Sybase</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>multcolor</entry>
|
||||
<entry><function>swfdisplayitem_multColor</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>mysql</entry>
|
||||
<entry><function>mysql_db_query</function></entry>
|
||||
@@ -831,16 +621,6 @@
|
||||
<entry><function>mysql_result</function></entry>
|
||||
<entry><link linkend="ref.mysql">MySQL</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>nextframe</entry>
|
||||
<entry><function>swfmovie_nextFrame</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>nextframe</entry>
|
||||
<entry><function>swfsprite_nextFrame</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ociassignelem</entry>
|
||||
<entry><link linkend="oci-collection.assignelem">OCI-Collection::assignElem</link></entry>
|
||||
@@ -1091,11 +871,6 @@
|
||||
<entry><function>odbc_field_len</function></entry>
|
||||
<entry><link linkend="ref.uodbc">ODBC</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>output</entry>
|
||||
<entry><function>swfmovie_output</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>pdf_add_outline</entry>
|
||||
<entry><function>pdf_add_bookmark</function></entry>
|
||||
@@ -1121,211 +896,6 @@
|
||||
<entry><function>recode_string</function></entry>
|
||||
<entry><link linkend="ref.recode">Recode</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>remove</entry>
|
||||
<entry><function>swfmovie_remove</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>remove</entry>
|
||||
<entry><function>swfsprite_remove</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>rotate</entry>
|
||||
<entry><function>swfdisplayitem_rotate</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>rotateto</entry>
|
||||
<entry><function>swfdisplayitem_rotateTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>rotateto</entry>
|
||||
<entry><function>swffill_rotateTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>save</entry>
|
||||
<entry><function>swfmovie_save</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>savetofile</entry>
|
||||
<entry><function>swfmovie_saveToFile</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>scale</entry>
|
||||
<entry><function>swfdisplayitem_scale</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>scaleto</entry>
|
||||
<entry><function>swfdisplayitem_scaleTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>scaleto</entry>
|
||||
<entry><function>swffill_scaleTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setaction</entry>
|
||||
<entry><function>swfbutton_setAction</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setbackground</entry>
|
||||
<entry><function>swfmovie_setBackground</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setbounds</entry>
|
||||
<entry><function>swftextfield_setBounds</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setcolor</entry>
|
||||
<entry><function>swftext_setColor</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setcolor</entry>
|
||||
<entry><function>swftextfield_setColor</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setdepth</entry>
|
||||
<entry><function>swfdisplayitem_setDepth</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setdimension</entry>
|
||||
<entry><function>swfmovie_setDimension</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setdown</entry>
|
||||
<entry><function>swfbutton_setDown</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setfont</entry>
|
||||
<entry><function>swftext_setFont</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setfont</entry>
|
||||
<entry><function>swftextfield_setFont</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setframes</entry>
|
||||
<entry><function>swfmovie_setFrames</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setframes</entry>
|
||||
<entry><function>swfsprite_setFrames</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setheight</entry>
|
||||
<entry><function>swftext_setHeight</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setheight</entry>
|
||||
<entry><function>swftextfield_setHeight</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>sethit</entry>
|
||||
<entry><function>swfbutton_setHit</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setindentation</entry>
|
||||
<entry><function>swftextfield_setIndentation</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setleftfill</entry>
|
||||
<entry><function>swfshape_setleftfill</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setleftmargin</entry>
|
||||
<entry><function>swftextfield_setLeftMargin</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setline</entry>
|
||||
<entry><function>swfshape_setline</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setlinespacing</entry>
|
||||
<entry><function>swftextfield_setLineSpacing</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setmargins</entry>
|
||||
<entry><function>swftextfield_setMargins</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setmatrix</entry>
|
||||
<entry><function>swfdisplayitem_setMatrix</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setname</entry>
|
||||
<entry><function>swfdisplayitem_setName</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setname</entry>
|
||||
<entry><function>swftextfield_setName</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setover</entry>
|
||||
<entry><function>swfbutton_setOver</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setrate</entry>
|
||||
<entry><function>swfmovie_setRate</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setratio</entry>
|
||||
<entry><function>swfdisplayitem_setRatio</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setrightfill</entry>
|
||||
<entry><function>swfshape_setrightfill</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setrightmargin</entry>
|
||||
<entry><function>swftextfield_setRightMargin</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setspacing</entry>
|
||||
<entry><function>swftext_setSpacing</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>setup</entry>
|
||||
<entry><function>swfbutton_setUp</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>show_source</entry>
|
||||
<entry><function>highlight_file</function></entry>
|
||||
@@ -1336,36 +906,6 @@
|
||||
<entry><function>count</function></entry>
|
||||
<entry>Base syntax</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>skewx</entry>
|
||||
<entry><function>swfdisplayitem_skewX</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>skewxto</entry>
|
||||
<entry><function>swfdisplayitem_skewXTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>skewxto</entry>
|
||||
<entry><function>swffill_skewXTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>skewy</entry>
|
||||
<entry><function>swfdisplayitem_skewY</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>skewyto</entry>
|
||||
<entry><function>swfdisplayitem_skewYTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>skewyto</entry>
|
||||
<entry><function>swffill_skewYTo</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>snmpwalkoid</entry>
|
||||
<entry><function>snmprealwalk</function></entry>
|
||||
@@ -1376,71 +916,6 @@
|
||||
<entry><function>strstr</function></entry>
|
||||
<entry>Base syntax</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>streammp3</entry>
|
||||
<entry><function>swfmovie_streamMp3</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfaction</entry>
|
||||
<entry><function>swfaction_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfbitmap</entry>
|
||||
<entry><function>swfbitmap_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfbutton</entry>
|
||||
<entry><function>swfbutton_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swffill</entry>
|
||||
<entry><function>swffill_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swffont</entry>
|
||||
<entry><function>swffont_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfgradient</entry>
|
||||
<entry><function>swfgradient_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfmorph</entry>
|
||||
<entry><function>swfmorph_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfmovie</entry>
|
||||
<entry><function>swfmovie_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfshape</entry>
|
||||
<entry><function>swfshape_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swfsprite</entry>
|
||||
<entry><function>swfsprite_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swftext</entry>
|
||||
<entry><function>swftext_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>swftextfield</entry>
|
||||
<entry><function>swftextfield_init</function></entry>
|
||||
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>xptr_new_context</entry>
|
||||
<entry><function>xpath_new_context</function></entry>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: c653b888fbfb9036b7dc514ba71d6f04edca755d Maintainer: ae Status: revision --><!-- CREDITS: ae, fibbarth, fabioluciano, rogeriopradoj, adiel, geekcom -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: ae Status: revision --><!-- CREDITS: ae, fibbarth, fabioluciano, rogeriopradoj, adiel, geekcom -->
|
||||
|
||||
<section xml:id="ini.core" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Descrição das principais diretivas do &php.ini;</title>
|
||||
@@ -1670,8 +1670,8 @@ include_path = ".:${USER}/pear/php"
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Nome da extensão Zend carregável dinamicamente (por exemplo
|
||||
<link linkend="book.apd">APD</link>) a carregar quando o PHP inicia.
|
||||
Nome da extensão Zend carregável dinamicamente (por exemplo,
|
||||
XDebug) a carregar quando o PHP inicia.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4349bb7a7c1a2e8b667fd90d02a849653e5f0b76 Maintainer: ae Status: ready --><!-- CREDITS: galvao, ae, fabioluciano, geekcom -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: ae Status: ready --><!-- CREDITS: galvao, ae, fabioluciano, geekcom, adiel -->
|
||||
|
||||
<section xml:id="ini.list" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>Lista de diretivas do &php.ini;</title>
|
||||
@@ -48,186 +48,6 @@
|
||||
<entry>PHP_INI_PERDIR</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.cache-by-default">apc.cache_by_default</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>PHP_INI_SYSTEM no APC <= 3.0.12. Disponível a partir do APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.enabled">apc.enabled</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>PHP_INI_SYSTEM no APC 2. PHP_INI_ALL no APC <= 3.0.12.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.enable-cli">apc.enable_cli</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.7.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.file-update-protection">apc.file_update_protection</link></entry>
|
||||
<entry>"2"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.6.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.filters">apc.filters</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.gc-ttl">apc.gc_ttl</link></entry>
|
||||
<entry>"3600"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.include-once-override">apc.include_once_override</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.12.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.localcache">apc.localcache</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.14.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.localcache.size">apc.localcache.size</link></entry>
|
||||
<entry>"512"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.14.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.max-file-size">apc.max_file_size</link></entry>
|
||||
<entry>"1M"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.7.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.mmap-file-mask">apc.mmap_file_mask</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.num-files-hint">apc.num_files_hint</link></entry>
|
||||
<entry>"1000"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.optimization">apc.optimization</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>PHP_INI_SYSTEM no APC 2. Removido no APC 3.0.13.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.report-autofilter">apc.report_autofilter</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.11.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867">apc.rfc1867</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.13.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867-freq">apc.rfc1867_freq</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867-name">apc.rfc1867_name</link></entry>
|
||||
<entry>"APC_UPLOAD_PROGRESS"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867-prefix">apc.rfc1867_prefix</link></entry>
|
||||
<entry>"upload_"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.shm-segments">apc.shm_segments</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.shm-size">apc.shm_size</link></entry>
|
||||
<entry>"30"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.slam-defense">apc.slam_defense</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.stat">apc.stat</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.10.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.stat-ctime">apc.stat_ctime</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.13.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.ttl">apc.ttl</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.user-entries-hint">apc.user_entries_hint</link></entry>
|
||||
<entry>"4096"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.user-ttl">apc.user_ttl</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.write-lock">apc.write_lock</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do APC 3.0.11.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>apd.bitmask</entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Removido no apd 0.9.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apd.dumpdir">apd.dumpdir</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apd.statement-tracing">apd.statement_tracing</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Disponível a partir do apd 0.9.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.arg-separator.input">arg_separator.input</link></entry>
|
||||
<entry>"&"</entry>
|
||||
@@ -984,30 +804,6 @@
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.htscanner.config-file">htscanner.config_file</link></entry>
|
||||
<entry>".htaccess"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.htscanner.default-docroot">htscanner.default_docroot</link></entry>
|
||||
<entry>"/"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.htscanner.default-ttl">htscanner.default_ttl</link></entry>
|
||||
<entry>"300"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do htscanner 0.6.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.htscanner.stop-on-error">htscanner.stop_on_error</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Disponível a partir do htscanner 0.7.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>http.allowed_methods</entry>
|
||||
<entry>""</entry>
|
||||
@@ -2244,13 +2040,13 @@
|
||||
<entry>Adicionado no PHP 5.3.0</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.runkit.internal-override">runkit.internal_override</link></entry>
|
||||
<entry><link linkend="ini.runkit7.internal-override">runkit.internal_override</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.runkit.superglobal">runkit.superglobal</link></entry>
|
||||
<entry><link linkend="ini.runkit7.superglobal">runkit.superglobal</link></entry>
|
||||
<entry>""</entry>
|
||||
<entry>PHP_INI_PERDIR</entry>
|
||||
<entry></entry>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: c8e0df5f35214f64fadb31a5149c2bd2cfdc4aa3 Maintainer: royopa Status: ready --><!-- CREDITS: bruno@disvolvi.com, royopa, fabioluciano -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: royopa Status: ready --><!-- CREDITS: bruno@disvolvi.com, royopa, fabioluciano, adiel -->
|
||||
<appendix xml:id="migration51" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Migrando do PHP 5.0.x para PHP 5.1.x</title>
|
||||
<para>
|
||||
@@ -502,7 +502,7 @@ class test {
|
||||
<entry>pecl/dio</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ref.fam">ext/fam</link></entry>
|
||||
<entry>ext/fam</entry>
|
||||
<entry>Não ativamente mantida</entry>
|
||||
</row>
|
||||
<row>
|
||||
@@ -514,11 +514,11 @@ class test {
|
||||
<entry>Não ativamente mantida</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ref.mcve">ext/mcve</link></entry>
|
||||
<entry>ext/mcve</entry>
|
||||
<entry>pecl/mcve</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ref.mnogosearch">ext/mnogosearch</link></entry>
|
||||
<entry>ext/mnogosearch</entry>
|
||||
<entry>Não ativamente mantida</entry>
|
||||
</row>
|
||||
<row>
|
||||
@@ -541,7 +541,7 @@ class test {
|
||||
<entry><link xlink:href="&url.pecl.package;ffi">pecl/ffi</link></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ref.nis">ext/yp</link></entry>
|
||||
<entry>ext/yp</entry>
|
||||
<entry>Não ativamente mantida</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: c8e0df5f35214f64fadb31a5149c2bd2cfdc4aa3 Maintainer: ae Status: ready --><!-- CREDITS: gabriel@taller.net.br,revagomes@gmail.com,royopa,sebas@taller.net.br, fabioluciano -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: ae Status: ready --><!-- CREDITS: gabriel@taller.net.br, revagomes@gmail.com, royopa, sebas@taller.net.br, fabioluciano, adiel -->
|
||||
<appendix xml:id="migration52" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Migrando do PHP 5.1.x para o PHP 5.2.x</title>
|
||||
<para>
|
||||
@@ -669,7 +669,7 @@ $obj->getCommentName('');
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para><link linkend="ref.ming">ming</link>:</para>
|
||||
<para>ming:</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
@@ -938,7 +938,7 @@ $obj->getCommentName('');
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para><link linkend="ref.ming">ming</link> (A partir do PHP 5.2.1):</para>
|
||||
<para>ming (A partir do PHP 5.2.1):</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
@@ -1291,7 +1291,7 @@ $obj->getCommentName('');
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="ref.hwapi">Hyperwave API</link>
|
||||
Hyperwave API
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
@@ -1696,7 +1696,7 @@ $obj->getCommentName('');
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para><link linkend="ref.ming">ming</link>:</para>
|
||||
<para>ming:</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: c8e0df5f35214f64fadb31a5149c2bd2cfdc4aa3 Maintainer: none Status: wip --><!-- CREDITS: milhomem, rogeriopradoj, fabioluciano -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: none Status: wip --><!-- CREDITS: milhomem, rogeriopradoj, fabioluciano, adiel -->
|
||||
<appendix xml:id="migration53" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Migrando do PHP 5.2.x para o PHP 5.3.x</title>
|
||||
<simpara>
|
||||
@@ -1535,8 +1535,7 @@ try {
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="book.ming">ming</link>
|
||||
- Maintained
|
||||
ming - Maintained
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 83926e1685b3510439dcd8f4a0561004e77c85cc Maintainer: ae Status: ready --><!-- CREDITS: marcelgsantos,lcobucci,ae, geekcom -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: ae Status: ready --><!-- CREDITS: marcelgsantos, lcobucci, ae, geekcom, adiel -->
|
||||
<chapter xml:id="faq.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Utilizando o PHP</title>
|
||||
<titleabbrev>Utilizando o PHP</titleabbrev>
|
||||
@@ -406,10 +406,6 @@ foreach ($headers as $name => $content) {
|
||||
<link xlink:href="&url.pdf.fpdf;">FPDF</link> e
|
||||
<link xlink:href="&url.pdf.tcpdf;">TCPDF</link>.
|
||||
</para>
|
||||
<para>
|
||||
Existe também a extensão <link linkend="book.haru">Haru</link>
|
||||
que utiliza a biblioteca externa livre libHaru.
|
||||
</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 17fc359d7eb75d7d6199db77518924f2d351ed8b Maintainer: ae Status: ready --><!-- CREDITS: thiago, narigone, ae, fabioluciano -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: ae Status: revision --><!-- CREDITS: thiago, narigone, ae, fabioluciano -->
|
||||
<sect2 xml:id="install.windows.legacy.extensions" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Instalação de extensões no Windows</title>
|
||||
<para>
|
||||
@@ -132,11 +132,6 @@ extension=php_bz2.dll
|
||||
<entry>Funções de Conversão de <link linkend="book.calendar">Calendar</link></entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>php_crack.dll</entry>
|
||||
<entry>Funções de <link linkend="book.crack">Crack</link> </entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>php_ctype.dll</entry>
|
||||
<entry>Família de Funções <link linkend="book.ctype">ctype</link></entry>
|
||||
@@ -146,7 +141,8 @@ extension=php_bz2.dll
|
||||
<entry>php_curl.dll</entry>
|
||||
<entry>Biblioteca de Funções de Cliente URL - <link linkend="book.curl">CURL</link></entry>
|
||||
<entry>Requer: <filename>libeay32.dll</filename>,
|
||||
<filename>ssleay32.dll</filename> (incluso)</entry>
|
||||
<filename>ssleay32.dll</filename> (incluso), ou, a partir da OpenSSL 1.1,
|
||||
<filename>libcrypto-*.dll</filename> e <filename>libssl-*.dll</filename> (inclusos)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>php_dba.dll</entry>
|
||||
@@ -249,7 +245,8 @@ extension=php_bz2.dll
|
||||
<entry>Funções de <link linkend="book.ldap">LDAP</link></entry>
|
||||
<entry>
|
||||
Requer <filename>libeay32.dll</filename> e
|
||||
<filename>ssleay32.dll</filename> (inclusos)
|
||||
<filename>ssleay32.dll</filename> (inclusos), ou, a partir da OpenSSL 1.1,
|
||||
<filename>libcrypto-*.dll</filename> e <filename>libssl-*.dll</filename> (inclusos)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
@@ -272,11 +269,6 @@ extension=php_bz2.dll
|
||||
<entry>Funções de <link linkend="book.mime-magic">Mimetype</link></entry>
|
||||
<entry>Requer: <filename>magic.mime</filename> (incluso)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>php_ming.dll</entry>
|
||||
<entry>Funções <link linkend="book.ming">Ming</link> para Flash</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>php_msql.dll</entry>
|
||||
<entry>Funções de <link linkend="book.msql">mSQL</link></entry>
|
||||
@@ -306,7 +298,8 @@ extension=php_bz2.dll
|
||||
<row>
|
||||
<entry>php_openssl.dll</entry>
|
||||
<entry>Funções de <link linkend="book.openssl">OpenSSL</link></entry>
|
||||
<entry>Requer: <filename>libeay32.dll</filename> (incluso)</entry>
|
||||
<entry>Requer: <filename>libeay32.dll</filename> (incluso),
|
||||
ou, a partir da OpenSSL 1.1, <filename>libcrypto-*.dll</filename> (inclusos)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>php_pdf.dll</entry>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 366509eacd25fd083006e411d553b5cb178db38d Maintainer: ae Status: ready --><!-- CREDITS: felipe,ae,klaussilveira,fabioluciano -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: ae Status: revision --><!-- CREDITS: felipe, ae, klaussilveira, fabioluciano, adiel -->
|
||||
<!-- Keep 'em sorted -->
|
||||
|
||||
<!ENTITY changelog.randomseed '<row xmlns="http://docbook.org/ns/docbook"><entry>4.2.0</entry><entry>O gerador
|
||||
@@ -272,8 +272,8 @@ Utilize por sua própria conta e risco.
|
||||
</simpara></warning>'>
|
||||
|
||||
<!ENTITY warn.imaprecodeyaz '<warning xmlns="http://docbook.org/ns/docbook"><simpara>As extensões <link
|
||||
linkend="book.imap">IMAP</link>, <link linkend="book.recode">recode</link>,
|
||||
<link linkend="book.yaz">YAZ</link> e <link linkend="book.cyrus">Cyrus</link>
|
||||
linkend="book.imap">IMAP</link>, <link linkend="book.recode">recode</link> e
|
||||
<link linkend="book.yaz">YAZ</link>
|
||||
não podem ser utilizadas em paralelo por conterem
|
||||
símbolos internos de mesmo nome. Yaz 2.0 e superiores não sofrem deste problema.</simpara></warning>'>
|
||||
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: fabioluciano Status: ready --><!-- CREDITS: felipe, fabioluciano -->
|
||||
|
||||
<book xml:id="book.apc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Alternative PHP Cache</title>
|
||||
<titleabbrev>APC</titleabbrev>
|
||||
|
||||
<preface xml:id="intro.apc">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
O Cache Alternativo do PHP (APC) é um cache livre e aberto para o PHP.
|
||||
Foi desenvolvido para prover um framework livre, aberto e robusto para
|
||||
cacheamento e otimização do código intermediário do PHP.
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
&reference.apc.setup;
|
||||
&reference.apc.constants;
|
||||
&reference.apc.reference;
|
||||
&reference.apc.apciterator;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,263 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4de5cce5d886bf7ea08db8583141ff9715b47073 Maintainer: fabioluciano Status: ready --><!-- CREDITS: felipe, fabioluciano -->
|
||||
<appendix xml:id="apc.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.apc-bin-verify-crc32">
|
||||
<term>
|
||||
<constant>APC_BIN_VERIFY_CRC32</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-bin-verify-md5">
|
||||
<term>
|
||||
<constant>APC_BIN_VERIFY_MD5</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-all">
|
||||
<term>
|
||||
<constant>APC_ITER_ALL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-atime">
|
||||
<term>
|
||||
<constant>APC_ITER_ATIME</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-ctime">
|
||||
<term>
|
||||
<constant>APC_ITER_CTIME</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-device">
|
||||
<term>
|
||||
<constant>APC_ITER_DEVICE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-dtime">
|
||||
<term>
|
||||
<constant>APC_ITER_DTIME</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-filename">
|
||||
<term>
|
||||
<constant>APC_ITER_FILENAME</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-inode">
|
||||
<term>
|
||||
<constant>APC_ITER_INODE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-key">
|
||||
<term>
|
||||
<constant>APC_ITER_KEY</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-md5">
|
||||
<term>
|
||||
<constant>APC_ITER_MD5</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-mem-size">
|
||||
<term>
|
||||
<constant>APC_ITER_MEM_SIZE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-mtime">
|
||||
<term>
|
||||
<constant>APC_ITER_MTIME</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-none">
|
||||
<term>
|
||||
<constant>APC_ITER_NONE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-num-hits">
|
||||
<term>
|
||||
<constant>APC_ITER_NUM_HITS</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-refcount">
|
||||
<term>
|
||||
<constant>APC_ITER_REFCOUNT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-ttl">
|
||||
<term>
|
||||
<constant>APC_ITER_TTL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-type">
|
||||
<term>
|
||||
<constant>APC_ITER_TYPE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-iter-value">
|
||||
<term>
|
||||
<constant>APC_ITER_VALUE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-list-active">
|
||||
<term>
|
||||
<constant>APC_LIST_ACTIVE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.apc-list-deleted">
|
||||
<term>
|
||||
<constant>APC_LIST_DELETED</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,182 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: dc270d6f1898be79414d950bcc5bf64922b721f5 Maintainer: fabioluciano Status: ready --><!-- CREDITS: narigone, fabioluciano -->
|
||||
<refentry xml:id="function.apc-cache-info" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>apc_cache_info</refname>
|
||||
<refpurpose>
|
||||
Recupera informações cacheadas do armazenamento do APC
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>apc_cache_info</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>cache_type</parameter><initializer>""</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>limited</parameter><initializer>false</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Recupera informações cacheadas do armazenamento do APC.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>cache_type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Se <parameter>cache_type</parameter> for configurado com "<literal>user</literal>",
|
||||
informações sobre o cache do usuário serão retornadas.
|
||||
</para>
|
||||
<para>
|
||||
Se <parameter>cache_type</parameter> for configurado com "<literal>filehits</literal>",
|
||||
informação sobre quais arquivos estão sendo servidos do cache de bytecode
|
||||
para a requisição atual serão retornadas. Este recurso precisa ser habilitado
|
||||
na compilação usando <option role="configure">--enable-filehits</option>.
|
||||
</para>
|
||||
<para>
|
||||
Se <parameter>cache_type</parameter> for inválido ou não especificado, informação sobre
|
||||
o sistema de cache (arquivos em cache) será retornada.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>limited</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Se <parameter>limited</parameter> for configurado como &true;, o valor
|
||||
retornado excluirá a lista individual de entradas do cache. Isso é
|
||||
útil quando estiver tentando otimizar chamadas para obter estatísticas.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Array dos dados em cache (e meta-data)&return.falseforfailure;
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
<function>apc_cache_info</function> lançará um aviso se for incapaz de
|
||||
retorna os dados em cache. Isso normalmente acontece quando o APC não estiver habilitado.
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>3.0.11</entry>
|
||||
<entry>
|
||||
O parâmetro <parameter>limited</parameter> foi introduzido.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>3.0.16</entry>
|
||||
<entry>
|
||||
A opção "<literal>filehits</literal>" para o parâmetro
|
||||
<parameter>cache_type</parameter> foi introduzida.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Um exemplo de <function>apc_cache_info</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
print_r(apc_cache_info());
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Array
|
||||
(
|
||||
[num_slots] => 2000
|
||||
[ttl] => 0
|
||||
[num_hits] => 9
|
||||
[num_misses] => 3
|
||||
[start_time] => 1123958803
|
||||
[cache_list] => Array
|
||||
(
|
||||
[0] => Array
|
||||
(
|
||||
[filename] => /path/to/apc_test.php
|
||||
[device] => 29954
|
||||
[inode] => 1130511
|
||||
[type] => file
|
||||
[num_hits] => 1
|
||||
[mtime] => 1123960686
|
||||
[creation_time] => 1123960696
|
||||
[deletion_time] => 0
|
||||
[access_time] => 1123962864
|
||||
[ref_count] => 1
|
||||
[mem_size] => 677
|
||||
)
|
||||
[1] => Array (...iterates for each cached file)
|
||||
)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><link linkend="apc.configuration">Diretivas de configuração do APC</link></member>
|
||||
<member><methodname>APCIterator::getTotalSize</methodname></member>
|
||||
<member><methodname>APCIterator::getTotalHits</methodname></member>
|
||||
<member><methodname>APCIterator::getTotalCount</methodname></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,76 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 5eaa90f976afc6a951a6c5f57a3da42c31bdf0ab Maintainer: fabioluciano Status: ready --><!-- CREDITS: narigone, fabioluciano -->
|
||||
<refentry xml:id="function.apc-clear-cache" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>apc_clear_cache</refname>
|
||||
<refpurpose>
|
||||
Limpa o cache do APC.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>apc_clear_cache</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>cache_type</parameter><initializer>""</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Limpa o cache do usuário/sistema.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>cache_type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Se <parameter>cache_type</parameter> for configurado com "<literal>user</literal>", o
|
||||
cache do usuário será limpado; caso contrário, o cache do sistema (arquivos cacheados)
|
||||
será limpo.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Sempre retornará &true;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>apc_cache_info</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,151 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: fabioluciano Status: ready --><!-- CREDITS: narigone, fabioluciano -->
|
||||
<refentry xml:id="function.apc-define-constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>apc_define_constants</refname>
|
||||
<refpurpose>
|
||||
Define um conjunto de constantes para recuperação e definição em massa
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>apc_define_constants</methodname>
|
||||
<methodparam><type>string</type><parameter>key</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>constants</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>case_sensitive</parameter><initializer>true</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
<function>define</function> é notoriamente lento. Já que o benefício do
|
||||
APC é aumentar a performance de scripts/aplicações, esse mecanismo é
|
||||
disponibilizado para automatizar o processo de definição de constantes em massa.
|
||||
No entanto, essa função não se desempenha tão bem quanto antecipado.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Para uma solução com melhor performance, tente a extensão
|
||||
<link xlink:href="&url.pecl.package;hidef">hidef</link> do PECL.
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<simpara>
|
||||
Para remover um conjunto de constantes armazenadas (sem limpar o cache inteiro), um
|
||||
array vazio pode ser passado como parâmetro de <parameter>constants</parameter>,
|
||||
efetivamente limpando os valore(s) guardado(s).
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>key</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A <parameter>key</parameter> serve de nome para o conjunto de constantes
|
||||
armazenadas. Essa <parameter>key</parameter> é usada para recuperar as
|
||||
constantes guardadas com a função <function>apc_load_constants</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>constants</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um array associativo de pares <literal>constant_name => value</literal>.
|
||||
O <literal>constant_name</literal> deve seguir as regras normais de
|
||||
nomenclatura de <link linkend="language.constants">constantes</link>.
|
||||
<literal>value</literal> deve ser um valor escalar.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>case_sensitive</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O comportamento padrão de constantes é o deser declarado case-sensitive;
|
||||
ou seja, <literal>CONSTANT</literal> e <literal>Constant</literal>
|
||||
representam valores diferentes. Se esse parâmetro tem valor &false; as
|
||||
constantes serão declaradas como símbolos case-insensitive.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo da função <function>apc_define_constants</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$constants = array(
|
||||
'ONE' => 1,
|
||||
'TWO' => 2,
|
||||
'THREE' => 3,
|
||||
);
|
||||
apc_define_constants('numbers', $constants);
|
||||
echo ONE, TWO, THREE;
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
123
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>apc_load_constants</function></member>
|
||||
<member><function>define</function></member>
|
||||
<member><function>constant</function></member>
|
||||
<member>
|
||||
Ou <link linkend="language.constants">a referência de constantes do PHP</link>
|
||||
</member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,93 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: a1ada2741d0d40ae979286caa92a5a56c56c6313 Maintainer: ae Status: ready --><!-- CREDITS: narigone,ae -->
|
||||
<refentry xml:id="function.apc-delete" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>apc_delete</refname>
|
||||
<refpurpose>
|
||||
Remove uma variável guardado no cache.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>apc_delete</methodname>
|
||||
<methodparam><type>string</type><parameter>key</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Remove uma variável armazenada do cache.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>key</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A <parameter>key</parameter> usada para guardad o valor (com
|
||||
<function>apc_store</function>).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Um exemplo de <function>apc_delete</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$bar = 'BAR';
|
||||
apc_store('foo', $bar);
|
||||
apc_delete('foo');
|
||||
// Isso é obviamente inútil dessa forma
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>apc_store</function></member>
|
||||
<member><function>apc_fetch</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: aea2855eea2c4ff305b7cacdb601b9b3e5c37842 Maintainer: ae Status: ready --><!-- CREDITS: narigone,ae -->
|
||||
<refentry xml:id="function.apc-fetch" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>apc_fetch</refname>
|
||||
<refpurpose>
|
||||
Retorna uma variável guardado do cache
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>apc_fetch</methodname>
|
||||
<methodparam><type>mixed</type><parameter>key</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter role="reference">success</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Obtém uma variável armazenada no cache.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>key</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A <parameter>key</parameter> utilizada para gravar o valor (com
|
||||
<function>apc_store</function>). Se for passado um array então cada
|
||||
elemento é obtido e retornado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>success</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Retorna &true; no sucesso ou &false; em falhas.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
A variável guardada se tiver sucesso; &false; em caso de falha
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Um exemplo de <function>apc_fetch</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$bar = 'BAR';
|
||||
apc_store('foo', $bar);
|
||||
var_dump(apc_fetch('foo'));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
string(3) "BAR"
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>3.0.17</entry>
|
||||
<entry>
|
||||
O parâmetro <parameter>success</parameter> foi adicionado.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>apc_store</function></member>
|
||||
<member><function>apc_delete</function></member>
|
||||
<member><classname>APCIterator</classname></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,119 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: ae Status: ready --><!-- CREDITS: narigone,ae -->
|
||||
<refentry xml:id="function.apc-load-constants" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>apc_load_constants</refname>
|
||||
<refpurpose>
|
||||
Carrega um conjunto de constantes do cache
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>apc_load_constants</methodname>
|
||||
<methodparam><type>string</type><parameter>key</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>case_sensitive</parameter><initializer>true</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Carrega um conjunto de constantes do cache.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>key</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O nome do conjunto de constantes (que foi guardado com
|
||||
<function>apc_define_constants</function>) para ser resgatado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>case_sensitive</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O comportamento padrão para constantes é serem declaradas sensíveis ao caso;
|
||||
ex.: <literal>CONSTANT</literal> e <literal>Constant</literal>
|
||||
representam valores diferentes. Se esse parâmetro tem valor &false; as
|
||||
constantes serão declaradas como símbolos insensíveis ao caso.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de <function>apc_load_constants</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$constants = array(
|
||||
'ONE' => 1,
|
||||
'TWO' => 2,
|
||||
'THREE' => 3,
|
||||
);
|
||||
apc_define_constants('numbers', $constants);
|
||||
apc_load_constants('numbers');
|
||||
echo ONE, TWO, THREE;
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
123
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>apc_define_constants</function></member>
|
||||
<member><function>define</function></member>
|
||||
<member><function>constant</function></member>
|
||||
<member>
|
||||
Ou <link linkend="language.constants">a referência de constantes do PHP</link>
|
||||
</member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,118 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: ae Status: ready --><!-- CREDITS: narigone,ae -->
|
||||
<refentry xml:id="function.apc-sma-info" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>apc_sma_info</refname>
|
||||
<refpurpose>
|
||||
Retorna informação sobre Alocação de Memória Compartilhada do APC.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>apc_sma_info</methodname>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>limited</parameter><initializer>false</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Recupera informação de alocação de memória compartilhada do APC.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>limited</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Quando definido para &false; (padrão) <function>apc_sma_info</function>
|
||||
retornará uma informação detalhada sobre cada segmento.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Array de dados sobre Alocação de Memória Compartilhada; &false; em caso de falha.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Um exemplo de <function>apc_sma_info</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
print_r(apc_sma_info());
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Array
|
||||
(
|
||||
[num_seg] => 1
|
||||
[seg_size] => 31457280
|
||||
[avail_mem] => 31448408
|
||||
[block_lists] => Array
|
||||
(
|
||||
[0] => Array
|
||||
(
|
||||
[0] => Array
|
||||
(
|
||||
[size] => 31448408
|
||||
[offset] => 8864
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member>
|
||||
<link linkend="apc.configuration">Diretivas de configuração do APC</link>
|
||||
</member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,147 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: dc270d6f1898be79414d950bcc5bf64922b721f5 Maintainer: ae Status: ready --><!-- CREDITS: narigone,ae -->
|
||||
<refentry xml:id="function.apc-store" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>apc_store</refname>
|
||||
<refpurpose>
|
||||
Guarda uma variável no cache
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>apc_store</methodname>
|
||||
<methodparam><type>string</type><parameter>key</parameter></methodparam>
|
||||
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>ttl</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>apc_store</methodname>
|
||||
<methodparam><type>array</type><parameter>values</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>unused</parameter><initializer>NULL</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>ttl</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Armazena uma variável no cache.
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
Ao contrário de muitos outros mecanismos no PHP, variáveis guardadas usando
|
||||
<function>apc_store</function> persistirão entre requisições (até que o valor
|
||||
seja removido do cache).
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>key</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Guarda a variável usando esse nome. <parameter>key</parameter>s são
|
||||
únicas para cada cache, então, guardar um segundo valor com a mesma
|
||||
<parameter>key</parameter> sobrescreverá o valor original.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>var</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A variável a ser guardada.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ttl</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Tempo de vida; guarda <parameter>var</parameter> no cache por
|
||||
<parameter>ttl</parameter> segundos. Após
|
||||
<parameter>ttl</parameter> ter passado, a variável guardada será
|
||||
removida do cache (na próxima requisição). Se <parameter>ttl</parameter>
|
||||
não for passado (ou se <parameter>ttl</parameter> for
|
||||
<literal>0</literal>), o valor persistirá até ser removido
|
||||
manualmente do cache, ou caso deixe de existir no cache (clear,
|
||||
restart, etc.).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>values</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Nomes nas chaves, variáveis nos valores.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
A segunda sintaxe retorna um array das chaves que geram erros.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Um exemplo de <function>apc_store</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$bar = 'BAR';
|
||||
apc_store('foo', $bar);
|
||||
var_dump(apc_fetch('foo'));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
string(3) "BAR"
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>apc_add</function></member>
|
||||
<member><function>apc_fetch</function></member>
|
||||
<member><function>apc_delete</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,920 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<section xml:id="apc.configuration" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.runtime;
|
||||
&extension.runtime;
|
||||
<para>
|
||||
Although the default APC settings are fine for many installations, serious
|
||||
users should consider tuning the following parameters.
|
||||
</para>
|
||||
<para>
|
||||
There are two primary decisions to be made configuring APC. First,
|
||||
how much memory is going to be allocated to APC; and second, whether APC
|
||||
will check if a file has been modified on every request. The two ini
|
||||
directives that control these settings are <literal>apc.shm_size</literal>
|
||||
and <literal>apc.stat</literal>, respectively. Read the sections on these
|
||||
two directive carefully below.
|
||||
</para>
|
||||
<para>
|
||||
Once the server is running, the <literal>apc.php</literal> script that
|
||||
is bundled with the extension should be copied somewhere into the docroot and
|
||||
viewed with a browser as it provides a detailed analysis of the internal
|
||||
workings of APC. If GD is enabled in PHP, it will even display some
|
||||
interesting graphs. The first thing to ensure, of course, is that it is
|
||||
actually caching files. If APC is working, the <literal>Cache full count
|
||||
</literal> number (on the left) will display the number of times the cache
|
||||
has reached maximum capacity and has had to forcefully clean any entries that
|
||||
haven't been accessed in the last <literal>apc.ttl</literal> seconds. This
|
||||
number is minimized in a well-configured cache. If the cache is constantly
|
||||
being filled, and thusly forcefully freed, the resulting churning will have
|
||||
disparaging effects on script performance. The easiest way to minimize this
|
||||
number is to allocate more memory for APC. Barring that, the <literal>apc.filters
|
||||
</literal> ought to be used to cache fewer scripts.
|
||||
</para>
|
||||
<para>
|
||||
When APC is compiled with mmap support (Memory Mapping), it will use only one
|
||||
memory segment, unlike when APC is built with SHM (SysV Shared Memory) support
|
||||
that uses multiple memory segments. MMAP does not have a maximum limit like SHM
|
||||
does in <literal>/proc/sys/kernel/shmmax</literal>. In general MMAP support is
|
||||
recommeded because it will reclaim the memory faster when the webserver is
|
||||
restarted and all in all reduces memory allocation impact at startup.
|
||||
</para>
|
||||
<para>
|
||||
<table>
|
||||
<title>APC configuration options</title>
|
||||
<tgroup cols="4">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Name;</entry>
|
||||
<entry>&Default;</entry>
|
||||
<entry>&Changeable;</entry>
|
||||
<entry>&Changelog;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.enabled">apc.enabled</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>PHP_INI_SYSTEM in APC 2. PHP_INI_ALL in APC <= 3.0.12.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.shm-segments">apc.shm_segments</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.shm-size">apc.shm_size</link></entry>
|
||||
<entry>"32M"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.optimization">apc.optimization</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>PHP_INI_SYSTEM in APC 2. Removed in APC 3.0.13.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.num-files-hint">apc.num_files_hint</link></entry>
|
||||
<entry>"1000"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.user-entries-hint">apc.user_entries_hint</link></entry>
|
||||
<entry>"4096"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.ttl">apc.ttl</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.user-ttl">apc.user_ttl</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.gc-ttl">apc.gc_ttl</link></entry>
|
||||
<entry>"3600"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.cache-by-default">apc.cache_by_default</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>PHP_INI_SYSTEM in APC <= 3.0.12. Available since APC 3.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.filters">apc.filters</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.mmap-file-mask">apc.mmap_file_mask</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.slam-defense">apc.slam_defense</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.0. Prior to APC 3.1.4, the default value was <literal>"0"</literal> (disabled).</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.file-update-protection">apc.file_update_protection</link></entry>
|
||||
<entry>"2"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.6.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.enable-cli">apc.enable_cli</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.7.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.max-file-size">apc.max_file_size</link></entry>
|
||||
<entry>"1M"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.7.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.use-request-time">apc.use_request_time</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since APC 3.1.3.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.stat">apc.stat</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.10.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.write-lock">apc.write_lock</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.11.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.report-autofilter">apc.report_autofilter</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.11.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.include-once-override">apc.include_once_override</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.12.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867">apc.rfc1867</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.13.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867-prefix">apc.rfc1867_prefix</link></entry>
|
||||
<entry>"upload_"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867-name">apc.rfc1867_name</link></entry>
|
||||
<entry>"APC_UPLOAD_PROGRESS"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867-freq">apc.rfc1867_freq</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.rfc1867-ttl">apc.rfc1867_ttl</link></entry>
|
||||
<entry>"3600"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.1.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.localcache">apc.localcache</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.14.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.localcache.size">apc.localcache.size</link></entry>
|
||||
<entry>"512"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.14.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.coredump-unmap">apc.coredump_unmap</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.16.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.stat-ctime">apc.stat_ctime</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.0.13.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.preload-path">apc.preload_path</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.1.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.file-md5">apc.file_md5</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.1.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.canonicalize">apc.canonicalize</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.1.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.lazy-functions">apc.lazy_functions</link></entry>
|
||||
<entry>0</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.1.3.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.apc.lazy-classes">apc.lazy_classes</link></entry>
|
||||
<entry>0</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Available since APC 3.1.3.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
&ini.php.constants;
|
||||
</para>
|
||||
|
||||
&ini.descriptions.title;
|
||||
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="ini.apc.enabled">
|
||||
<term>
|
||||
<parameter>apc.enabled</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>apc.enabled</literal> can be set to 0 to disable APC. This is
|
||||
primarily useful when APC is statically compiled
|
||||
into PHP, since there is no other way to disable
|
||||
it (when compiled as a DSO, the <literal>extension</literal>
|
||||
line in <literal>php.ini</literal> can just be commented-out).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.shm-segments">
|
||||
<term>
|
||||
<parameter>apc.shm_segments</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The number of shared memory segments to allocate
|
||||
for the compiler cache. If APC is running out of
|
||||
shared memory but <literal>apc.shm_size</literal>
|
||||
is set as high as the system allows, raising
|
||||
this value might prevent APC from exhausting its memory.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.shm-size">
|
||||
<term>
|
||||
<parameter>apc.shm_size</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The size of each shared memory segment in MB.
|
||||
By default, some systems (including most BSD
|
||||
variants) have very low limits on the size of a
|
||||
shared memory segment.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.optimization">
|
||||
<term>
|
||||
<parameter>apc.optimization</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The optimization level. Zero disables the
|
||||
optimizer, and higher values use more aggressive
|
||||
optimizations. Expect very modest speed
|
||||
improvements. This is experimental.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.num-files-hint">
|
||||
<term>
|
||||
<parameter>apc.num_files_hint</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
A "hint" about the number of distinct source files
|
||||
that will be included or requested on your web
|
||||
server. Set to zero or omit if unsure;
|
||||
this setting is mainly useful for sites that have
|
||||
many thousands of source files.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.user-entries-hint">
|
||||
<term>
|
||||
<parameter>apc.user_entries_hint</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Just like <link linkend="ini.apc.num-files-hint">apc.num_files_hint</link>,
|
||||
a "hint" about the number of distinct user cache variables to store.
|
||||
Set to zero or omit if not sure.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.ttl">
|
||||
<term>
|
||||
<parameter>apc.ttl</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The number of seconds a cache entry is allowed to
|
||||
idle in a slot in case this cache entry slot is
|
||||
needed by another entry. Leaving this at zero
|
||||
means that APC's cache could potentially fill up
|
||||
with stale entries while newer entries won't be
|
||||
cached. In the event of a cache running out of
|
||||
available memory, the cache will be completely
|
||||
expunged if ttl is equal to 0. Otherwise, if the
|
||||
ttl is greater than 0, APC will attempt to remove
|
||||
expired entries.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.user-ttl">
|
||||
<term>
|
||||
<parameter>apc.user_ttl</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The number of seconds a cache entry is allowed to
|
||||
idle in a slot in case this cache entry slot is
|
||||
needed by another entry. Leaving this at zero
|
||||
means that APC's cache could potentially fill up
|
||||
with stale entries while newer entries won't be
|
||||
cached. In the event of a cache running out of
|
||||
available memory, the cache will be completely
|
||||
expunged if ttl is equal to 0. Otherwise, if the
|
||||
ttl is greater than 0, APC will attempt to remove
|
||||
expired entries.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.gc-ttl">
|
||||
<term>
|
||||
<parameter>apc.gc_ttl</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The number of seconds that a cache entry may
|
||||
remain on the garbage-collection list. This value
|
||||
provides a fail-safe in the event that a server
|
||||
process dies while executing a cached source file;
|
||||
if that source file is modified, the memory
|
||||
allocated for the old version will not be
|
||||
reclaimed until this TTL reached. Set to zero to
|
||||
disable this feature.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.cache-by-default">
|
||||
<term>
|
||||
<parameter>apc.cache_by_default</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
On by default, but can be set to off and used in
|
||||
conjunction with positive <literal>apc.filters</literal> so that files
|
||||
are only cached if matched by a positive filter.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.filters">
|
||||
<term>
|
||||
<parameter>apc.filters</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
A comma-separated list of POSIX extended regular
|
||||
expressions. If any pattern matches the source
|
||||
filename, the file will not be cached. Note that
|
||||
the filename used for matching is the one passed
|
||||
to include/require, not the absolute path. If the
|
||||
first character of the expression is a <literal>+</literal> then the
|
||||
expression will be additive in the sense that any
|
||||
files matched by the expression will be cached, and
|
||||
if the first character is a <literal>-</literal> then anything matched
|
||||
will not be cached. The <literal>-</literal> case is the default, so
|
||||
it can be left off.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.mmap-file-mask">
|
||||
<term>
|
||||
<parameter>apc.mmap_file_mask</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
If compiled with MMAP support by using <literal>--enable-mmap</literal>
|
||||
this is the mktemp-style file_mask to pass to the
|
||||
mmap module for determining whether your mmap'ed memory
|
||||
region is going to be file-backed or shared memory
|
||||
backed. For straight file-backed mmap, set it to
|
||||
something like <literal>/tmp/apc.XXXXXX</literal>
|
||||
(exactly 6 <literal>X</literal>s).
|
||||
To use POSIX-style shm_open/mmap put a <literal>.shm</literal>
|
||||
somewhere in your mask. e.g. <literal>/apc.shm.XXXXXX</literal>
|
||||
You can also set it to <literal>/dev/zero</literal> to use your
|
||||
kernel's <literal>/dev/zero</literal> interface to anonymous mmap'ed
|
||||
memory. Leaving it undefined will force an anonymous mmap.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.slam-defense">
|
||||
<term>
|
||||
<parameter>apc.slam_defense</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
On very busy servers whenever you start the server or
|
||||
modify files you can create a race of many processes
|
||||
all trying to cache the same file at the same time.
|
||||
This option sets the percentage of processes that will
|
||||
skip trying to cache an uncached file. Or think of it
|
||||
as the probability of a single process to skip caching.
|
||||
For example, setting <literal>apc.slam_defense</literal>
|
||||
to <literal>75</literal> would mean that there is
|
||||
a 75% chance that the process will not cache an uncached
|
||||
file. So, the higher the setting the greater the defense
|
||||
against cache slams. Setting this to <literal>0</literal>
|
||||
disables this feature.
|
||||
</para>
|
||||
<para>
|
||||
Deprecated by <link linkend="ini.apc.write-lock">apc.write_lock</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.file-update-protection">
|
||||
<term>
|
||||
<parameter>apc.file_update_protection</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
When a file is modified on a live web server it really
|
||||
ought to be done in an atomic manner. That is, written to a
|
||||
temporary file and renamed (<literal>mv</literal>) the file into its
|
||||
permanent position when it is ready. Many text editors,
|
||||
<command>cp</command>, <command>tar</command> and
|
||||
other such programs don't do this. This means that there
|
||||
is a chance that a file is accessed (and cached) while it
|
||||
is still being written to. This <literal>apc.file_update_protection</literal>
|
||||
setting puts a delay on caching brand new files. The
|
||||
default is 2 seconds, which means that if the modification
|
||||
timestamp (<literal>mtime</literal>) on a file shows that it is less than 2
|
||||
seconds old when it is accessed, it will not be cached.
|
||||
The unfortunate person who accessed this half-written file
|
||||
will still see weirdness, but at least it won't persist.
|
||||
If all of the webserver's files are atomically updated, via
|
||||
some method like <command>rsync</command> (which updates correctly),
|
||||
this protection can be disabled by setting this directive to 0.
|
||||
If the system is flooded with i/o and some update procedures
|
||||
are taking longer than 2 seconds, this setting should be increased
|
||||
to enable the protection on those slower update operations.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.enable-cli">
|
||||
<term>
|
||||
<parameter>apc.enable_cli</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Mostly for testing and debugging. Setting this enables APC
|
||||
for the CLI version of PHP. Under normal circumstances, it is
|
||||
not ideal to create, populate and destroy the APC cache on every
|
||||
CLI request, but for various test scenarios it is useful to be
|
||||
able to enable APC for the CLI version of PHP easily.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.max-file-size">
|
||||
<term>
|
||||
<parameter>apc.max_file_size</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Prevent files larger than this value from getting cached. Defaults to
|
||||
1M.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.apc.stat">
|
||||
<term>
|
||||
<parameter>apc.stat</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Be careful changing this setting. This defaults to on, forcing APC to
|
||||
stat (check) the script on each request to determine if it has been modified.
|
||||
If it has been modified it will recompile and cache the new version.
|
||||
If this setting is off, APC will not check, which usually means that to
|
||||
force APC to recheck files, the web server will have to be restarted or the
|
||||
cache will have to be manually cleared. Note that FastCGI web server configurations
|
||||
may not clear the cache on restart. On a production server where the
|
||||
script files rarely change, a significant performance boost can be
|
||||
achieved by disabled stats.
|
||||
</para>
|
||||
<para>
|
||||
For included/required files this option applies as well, but note that
|
||||
for relative path includes (any path that doesn't start
|
||||
with / on Unix) APC has to check in order to uniquely identify the file.
|
||||
If you use absolute path includes APC can skip the stat and use that
|
||||
absolute path as the unique identifier for the file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.write-lock">
|
||||
<term>
|
||||
<parameter>apc.write_lock</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
On busy servers, when the web server is first started, or when many files
|
||||
have been modified at the same time, APC may try to compile and cache the
|
||||
same file multiple times. Write_lock guarantees that only one process
|
||||
will attempt to compile and cache an uncached script. The other processes
|
||||
attempting to use the script will run without using the opcode cache, rather
|
||||
than locking and waiting for the cache to prime.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.report-autofilter">
|
||||
<term>
|
||||
<parameter>apc.report_autofilter</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Logs any scripts that were automatically excluded from being cached due
|
||||
to early/late binding issues.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.include-once-override">
|
||||
<term>
|
||||
<parameter>apc.include_once_override</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Optimize <function>include_once</function> and <function>require_once</function>
|
||||
calls and avoid the expensive system calls used.
|
||||
</para>
|
||||
<warning>
|
||||
<simpara>
|
||||
This feature is <emphasis>EXPERIMENTAL</emphasis>. The behaviour of this
|
||||
directive, its name, and surrounding documentation may change without
|
||||
notice in a future release of APC. This feature should be used at your
|
||||
own risk.
|
||||
</simpara>
|
||||
</warning>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.rfc1867">
|
||||
<term>
|
||||
<parameter>apc.rfc1867</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
RFC1867 File Upload Progress hook handler is only available if APC
|
||||
was compiled against PHP 5.2.0 or later. When enabled, any file uploads
|
||||
which includes a field called <literal>APC_UPLOAD_PROGRESS</literal>
|
||||
before the file field in an upload form will cause APC to automatically
|
||||
create an upload_<emphasis>key</emphasis> user cache entry where
|
||||
<emphasis>key</emphasis> is the value of the
|
||||
<literal>APC_UPLOAD_PROGRESS</literal> form entry.
|
||||
</para>
|
||||
<para>
|
||||
Note that the hidden field specified by
|
||||
<literal>APC_UPLOAD_PROGRESS</literal> must come before the file field,
|
||||
otherwise the upload progress will not work correctly.
|
||||
</para>
|
||||
<para>
|
||||
Note that the file upload tracking is not threadsafe at this point, so
|
||||
new uploads that happen while a previous one is still going will disable
|
||||
the tracking for the previous.
|
||||
</para>
|
||||
<para>
|
||||
Note that the <literal>rate</literal> is only available once all file
|
||||
transfers are completed.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>An apc.rfc1867 example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
print_r(apc_fetch("upload_$_POST[APC_UPLOAD_PROGRESS]"));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Array
|
||||
(
|
||||
[total] => 1142543
|
||||
[current] => 1142543
|
||||
[rate] => 1828068.8
|
||||
[filename] => test
|
||||
[name] => file
|
||||
[temp_filename] => /tmp/php8F
|
||||
[cancel_upload] => 0
|
||||
[done] => 1
|
||||
)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.rfc1867-prefix">
|
||||
<term>
|
||||
<parameter>apc.rfc1867_prefix</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Key prefix to use for the user cache entry generated by rfc1867 upload
|
||||
progress functionality.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.rfc1867-name">
|
||||
<term>
|
||||
<parameter>apc.rfc1867_name</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specify the hidden form entry name that activates APC upload progress
|
||||
and specifies the user cache key suffix.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.rfc1867-freq">
|
||||
<term>
|
||||
<parameter>apc.rfc1867_freq</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The frequency that updates should be made to the user cache entry for
|
||||
upload progress. This can take the form of a percentage of the total
|
||||
file size or a size in bytes optionally suffixed with
|
||||
<literal>"k"</literal>, <literal>"m"</literal>, or <literal>"g"</literal>
|
||||
for kilobytes, megabytes, or gigabytes respectively (case insensitive).
|
||||
A setting of 0 updates as often as possible, which may cause slower
|
||||
uploads.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.rfc1867-ttl">
|
||||
<term>
|
||||
<parameter>apc.rfc1867_ttl</parameter>
|
||||
<type>bool</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
<acronym>TTL</acronym> for rfc1867 entries.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.localcache">
|
||||
<term>
|
||||
<parameter>apc.localcache</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
This enables a lock-free local process shadow-cache which reduces lock
|
||||
contention when the cache is being written to.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.localcache.size">
|
||||
<term>
|
||||
<parameter>apc.localcache.size</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The size of the local process shadow-cache, should be set to a
|
||||
sufficiently large value, approximately half of
|
||||
<link linkend="ini.apc.num-files-hint">apc.num_files_hint</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.coredump-unmap">
|
||||
<term>
|
||||
<parameter>apc.coredump_unmap</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Enables APC handling of signals, such as SIGSEGV, that write
|
||||
core files when signaled. When these signals are received,
|
||||
APC will attempt to unmap the shared memory segment in order
|
||||
to exclude it from the core file. This setting may improve
|
||||
system stability when fatal signals are received and a large
|
||||
APC shared memory segment is configured.
|
||||
</para>
|
||||
<warning>
|
||||
<para>
|
||||
This feature is potentially dangerous. Unmapping the shared
|
||||
memory segment in a fatal signal handler may cause undefined
|
||||
behaviour if a fatal error occurs.
|
||||
</para>
|
||||
</warning>
|
||||
<note>
|
||||
<para>
|
||||
Although some kernels may provide a facility to ignore various
|
||||
types of shared memory when generating a core dump file, these
|
||||
implementations may also ignore important shared memory segments
|
||||
such as the Apache scoreboard.
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.stat-ctime">
|
||||
<term>
|
||||
<parameter>apc.stat_ctime</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Verification with ctime will avoid problems caused by programs such
|
||||
as svn or rsync by making sure inodes haven't changed since the last
|
||||
stat. APC will normally only check mtime.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.canonicalize">
|
||||
<term>
|
||||
<parameter>apc.canonicalize</parameter>
|
||||
<type>bool</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
If on, then relative paths are canonicalized in no-stat mode. If set,
|
||||
then files included via stream wrappers can not be cached as
|
||||
<function>realpath</function> does not support stream wrappers.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.preload-path">
|
||||
<term>
|
||||
<parameter>apc.preload_path</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.use-request-time">
|
||||
<term>
|
||||
<parameter>apc.use_request_time</parameter>
|
||||
<type>bool</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Use the <acronym>SAPI</acronym> request start time for
|
||||
<acronym>TTL</acronym>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.file-md5">
|
||||
<term>
|
||||
<parameter>apc.file_md5</parameter>
|
||||
<type>bool</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Records a md5 hash of files.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.lazy-functions">
|
||||
<term>
|
||||
<parameter>apc.lazy_functions</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Enables lazy loading for functions.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.apc.lazy-classes">
|
||||
<term>
|
||||
<parameter>apc.lazy_classes</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Enables lazy loading for classes.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.apc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>APC &Functions;</title>
|
||||
|
||||
&reference.apc.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 82354105ea141e86d769ed9a8d79f253eaeccd2d Maintainer: fabioluciano Status: ready --><!-- CREDITS: felipe, fabioluciano -->
|
||||
|
||||
<chapter xml:id="apc.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<section xml:id="apc.requirements">
|
||||
&reftitle.required;
|
||||
&no.requirement;
|
||||
</section>
|
||||
|
||||
<section xml:id="apc.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
&pecl.moved;
|
||||
</para>
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;apc">&url.pecl.package;apc</link>.
|
||||
</para>
|
||||
<para>
|
||||
&pecl.windows.download;
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
No Windows, o APC necessita que um diretório temporário exista, e
|
||||
o web server possa escrever. Ele verifica as variáveis de
|
||||
ambiente TMP, TEMP, USERPROFILE nessa ordem e, no final,
|
||||
tenta o diretório WINDOWS se nenhum deles
|
||||
estiver configurado.
|
||||
</simpara>
|
||||
</note>
|
||||
<note>
|
||||
<simpara>
|
||||
Para detalhes de implementação mais aprofundados, veja o
|
||||
<link xlink:href="&url.apc.technotes;">
|
||||
arquivo de notas técnicas fornecida pelo desenvolvedor
|
||||
</link>.
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
|
||||
&reference.apc.ini;
|
||||
|
||||
<section xml:id="apc.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: ae Status: ready --><!-- CREDITS: felipe,ae -->
|
||||
|
||||
<book xml:id="book.bbcode" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Bulletin Board Code</title>
|
||||
<titleabbrev>BBCode</titleabbrev>
|
||||
|
||||
<preface xml:id="intro.bbcode">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Esta extensão tem o objetivo de ajudar a analisar texto BBCode em
|
||||
para convertê-lo para HTML ou outra linguagem de marcação. Ela usa
|
||||
um parser e fornece melhor eficiência sobre as comuns implementações
|
||||
baseadas em expressões regulares. E além do mais, ela ajuda a
|
||||
ter um HTML válido por reordenar aberta / fechada tags e automaticamnete
|
||||
fechar tags não fechadas.
|
||||
</para>
|
||||
<para>
|
||||
Desde 0.10.1 ele suporta argumento entre aspas com aspas simples,
|
||||
aspas dupla e aspas dupla com escape HTML.
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
&reference.bbcode.setup;
|
||||
&reference.bbcode.constants;
|
||||
&reference.bbcode.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<section xml:id="bbcode.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;bbcode">&url.pecl.package;bbcode</link>
|
||||
</para>
|
||||
<para>
|
||||
Uma solução alternativa, escrita em PHP, é o pacote PEAR
|
||||
<link xlink:href="&url.pear.package;HTML_BBCodeParser">HTML_BBCodeParser</link>.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,338 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: ae Status: ready --><!-- CREDITS: felipe,ae -->
|
||||
<appendix xml:id="bbcode.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.bbcode-type-noarg">
|
||||
<term>
|
||||
<constant>BBCODE_TYPE_NOARG</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode não aceita argumentos.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-type-single">
|
||||
<term>
|
||||
<constant>BBCODE_TYPE_SINGLE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode não tem uma tag para fechá-la.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-type-arg">
|
||||
<term>
|
||||
<constant>BBCODE_TYPE_ARG</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode precisa de algum argumento.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-type-optarg">
|
||||
<term>
|
||||
<constant>BBCODE_TYPE_OPTARG</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode aceita um argumento opcional.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-type-root">
|
||||
<term>
|
||||
<constant>BBCODE_TYPE_ROOT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode é uma tag raiz (aninhamento level 0).
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-flags-arg-parsing">
|
||||
<term>
|
||||
<constant>BBCODE_FLAGS_ARG_PARSING</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode requer argumento sub-parsing (o argumento é também passado pela
|
||||
extensão BBCode). Na 0.10.2 outro parser pode ser usado como argumento do parser.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-flags-cdata-not-allowed">
|
||||
<term>
|
||||
<constant>BBCODE_FLAGS_CDATA_NOT_ALLOWED</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode não aceita conteúdo (ela evita automaticamente).
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-flags-smileys-on">
|
||||
<term>
|
||||
<constant>BBCODE_FLAGS_SMILEYS_ON</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode aceita smileys.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-flags-smileys-off">
|
||||
<term>
|
||||
<constant>BBCODE_FLAGS_SMILEYS_OFF</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode não aceita smileys.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-flags-one-open-per-level">
|
||||
<term>
|
||||
<constant>BBCODE_FLAGS_ONE_OPEN_PER_LEVEL</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode automaticamente fecha se uma outra tag de
|
||||
mesmo tipo é encontrada no mesmo nível de aninhamento.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-flags-remove-if-empty">
|
||||
<term>
|
||||
<constant>BBCODE_FLAGS_REMOVE_IF_EMPTY</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode é automaticamente removida
|
||||
se o conteúdo é vazio ela permite produzir um HTML reduzido.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-flags-deny-reopen-child">
|
||||
<term>
|
||||
<constant>BBCODE_FLAGS_DENY_REOPEN_CHILD</constant>
|
||||
(<type>integer</type>) - desde a 0.10.3
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta tag BBCode não permite filhas não fechadas para reabrir quando automaticamente
|
||||
fechada.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-arg-double-quote">
|
||||
<term>
|
||||
<constant>BBCODE_ARG_DOUBLE_QUOTE</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser permitindo argumento entre aspas com
|
||||
aspas dupla (")
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-arg-single-quote">
|
||||
<term>
|
||||
<constant>BBCODE_ARG_SINGLE_QUOTE</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser permitindo argumento entre aspas com
|
||||
aspas simples (')
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-arg-html-quote">
|
||||
<term>
|
||||
<constant>BBCODE_ARG_HTML_QUOTE</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser permitindo argumento entre aspas com
|
||||
versão HTML de aspas dupla (&quot;)
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-arg-quote-escaping">
|
||||
<term>
|
||||
<constant>BBCODE_ARG_QUOTE_ESCAPING</constant>
|
||||
(<type>integer</type>) - since 1.0.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser permitindo que aspas nos argumentos sejam
|
||||
escapadas, permitindo assim a presença de aspas na
|
||||
string, escapadas com o caracter \ (que pode escapar qualquer
|
||||
caracter ou si mesmo). Se encontrado antecedendo um caracter
|
||||
não escapável a barra é removida.
|
||||
O comportamento padrão é não realizar a conversão.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-auto-correct">
|
||||
<term>
|
||||
<constant>BBCODE_AUTO_CORRECT</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser modificando a forma que os erros são
|
||||
tratados. Ela automaticamente fecha tags para as que são abertas.
|
||||
E trata tags com somente uma tag aberta como se houvesse uma
|
||||
tag de fechamento.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-correct-reopen-tags">
|
||||
<term>
|
||||
<constant>BBCODE_CORRECT_REOPEN_TAGS</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser modificando a forma que os erros são tratados.
|
||||
Ela automaticamente reabre tags se as tags fechadas não estão na
|
||||
ordem correta.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-disable-tree-build">
|
||||
<term>
|
||||
<constant>BBCODE_DISABLE_TREE_BUILD</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser desabilitando o parser do BBCode
|
||||
ele pode ser útil se somente a substituição do "smiley" precisa
|
||||
ser usada.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-default-smileys-on">
|
||||
<term>
|
||||
<constant>BBCODE_DEFAULT_SMILEYS_ON</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser definindo smileys para ON se nenhuma
|
||||
flag é dada a nível de tag.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-default-smileys-off">
|
||||
<term>
|
||||
<constant>BBCODE_DEFAULT_SMILEYS_OFF</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser definindo smileys para OFF se nenhuma
|
||||
flag é dada a nível de tag.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-force-smileys-off">
|
||||
<term>
|
||||
<constant>BBCODE_FORCE_SMILEYS_OFF</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta é uma opção do parser desabilitando completamente o parser de
|
||||
smileys.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-smileys-case-insensitive">
|
||||
<term>
|
||||
<constant>BBCODE_SMILEYS_CASE_INSENSITIVE</constant>
|
||||
(<type>integer</type>) - desde a 0.10.3
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Usa uma case insensitive detecção para smileys
|
||||
ao invés da simples busca binária.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-set-flags-set">
|
||||
<term>
|
||||
<constant>BBCODE_SET_FLAGS_SET</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta permite definir o conjunto de flag completa em um parser.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-set-flags-add">
|
||||
<term>
|
||||
<constant>BBCODE_SET_FLAGS_ADD</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta permite misturar um conjunto de flags ON em um parser.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.bbcode-set-flags-remove">
|
||||
<term>
|
||||
<constant>BBCODE_SET_FLAGS_REMOVE</constant>
|
||||
(<type>integer</type>) - desde a 0.10.2
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Esta permite misturar um conjunto de flgas OFF em um parser.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,148 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready --><!-- CREDITS: felipe,ae -->
|
||||
<refentry xml:id="function.bbcode-add-smiley" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bbcode_add_smiley</refname>
|
||||
<refpurpose>Adiciona um smiley para o analisador</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bbcode_add_smiley</methodname>
|
||||
<methodparam><type>resource</type><parameter>bbcode_container</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>smiley</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>replace_by</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
Adiciona um smiley para o analisador
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bbcode_container</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Resource BBCode_Container, retornado pela <function>bbcode_create</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>smiley</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string que será modificada quando encontrada.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>replace_by</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string que substituirá o smiley quando encontrado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso da <function>bbcode_add_smiley</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/*
|
||||
* Prepare the rule set
|
||||
*/
|
||||
$arrayBBCode=array(
|
||||
''=> array('type'=>BBCODE_TYPE_ROOT,
|
||||
'childs'=>'!i'),
|
||||
'b'=> array('type'=>BBCODE_TYPE_NOARG,
|
||||
'open_tag'=>'<b>',
|
||||
'close_tag'=>'</b>'),
|
||||
'u'=> array('type'=>BBCODE_TYPE_NOARG,
|
||||
'open_tag'=>'<u>',
|
||||
'close_tag'=>'</u>',
|
||||
'flags'=>BBCODE_FLAGS_SMILEYS_OFF),
|
||||
'i'=> array('type'=>BBCODE_TYPE_NOARG,
|
||||
'open_tag'=>'<i>',
|
||||
'close_tag'=>'</i>',
|
||||
'childs'=>'b'),
|
||||
);
|
||||
/*
|
||||
* Parsed Text
|
||||
*/
|
||||
$text=<<<EOF
|
||||
[i] No parse Test [/i] :)
|
||||
[b] Parsed, with smiley :( [/b]
|
||||
[u] Parsed, with no smiley :D [/u]
|
||||
EOF;
|
||||
/*
|
||||
* Init the parser
|
||||
*/
|
||||
$BBHandler=bbcode_create($arrayBBCode);
|
||||
/*
|
||||
* Add Smiley rules to parser
|
||||
*/
|
||||
bbcode_add_smiley($BBHandler, ":)", "<img src=\"smiley.gif\" alt=\":)\" />");
|
||||
bbcode_add_smiley($BBHandler, ":(", "<img src=\"sad.gif\" alt=\":(\" />");
|
||||
bbcode_add_smiley($BBHandler, ":D", "<img src=\"happy.gif\" alt=\":D\" />");
|
||||
bbcode_add_smiley($BBHandler, ":p", "<img src=\"tong.gif\" alt=\":p\" />");
|
||||
bbcode_add_smiley($BBHandler, ":|", "<img src=\"special.gif\" alt=\":|\" />");
|
||||
bbcode_add_smiley($BBHandler, ":6:", "<img src=\"six.gif\" alt=\":6:\" />");
|
||||
/*
|
||||
* Parse the text
|
||||
*/
|
||||
echo bbcode_parse($BBHandler,$text);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
<i> No parse Test </i> <img src="smiley.gif" alt=":)" />
|
||||
<b> Parsed, with smiley <img src="sad.gif" alt=":(" /> </b>
|
||||
<u> Parsed, with no smiley :D </u>
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: ae Status: ready --><!-- CREDITS: felipe,ae -->
|
||||
<refentry xml:id="function.bbcode-destroy" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bbcode_destroy</refname>
|
||||
<refpurpose>Fecha o resource BBCode_container</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bbcode_destroy</methodname>
|
||||
<methodparam><type>resource</type><parameter>bbcode_container</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
Esta função fecha um resource aberto por <function>bbcode_create</function>.
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bbcode_container</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Resource BBCode_Container retornado por <function>bbcode_create</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,73 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 41390ad8ed75af5d987309f04f7189411af06c44 Maintainer: ae Status: ready --><!-- CREDITS: felipe,ae -->
|
||||
<refentry xml:id="function.bbcode-parse" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bbcode_parse</refname>
|
||||
<refpurpose>Analisa uma string seguindo um dado conjunto de regras</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bbcode_parse</methodname>
|
||||
<methodparam><type>resource</type><parameter>bbcode_container</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>to_parse</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
Esta função analisa a string to_parse seguindo as regras em no
|
||||
bbcode_container criado por <function>bbcode_create</function>
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bbcode_container</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Resource BBCode_Container retornado pela <function>bbcode_create</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>to_parse</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string que precisa analisar.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna a string interpretada, &return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.bbcode" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>&Functions; da BBCode</title>
|
||||
|
||||
&reference.bbcode.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<chapter xml:id="bbcode.setup">
|
||||
&reftitle.setup;
|
||||
|
||||
<section xml:id="bbcode.requirements">
|
||||
&reftitle.required;
|
||||
&no.requirement;
|
||||
</section>
|
||||
|
||||
&reference.bbcode.configure;
|
||||
|
||||
<section xml:id="bbcode.configuration">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
|
||||
<section xml:id="bbcode.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
Um resource é usado na extensão BBCode: um BBCode_Container
|
||||
retornado pela <function>bbcode_create</function>.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: ae Status: ready --><!-- CREDITS: felipe -->
|
||||
<!-- State: experimental -->
|
||||
|
||||
<book xml:id="book.bcompiler" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Compilador de bytecode PHP</title>
|
||||
<titleabbrev>bcompiler</titleabbrev>
|
||||
|
||||
<preface xml:id="intro.bcompiler">
|
||||
&reftitle.intro;
|
||||
&warn.experimental;
|
||||
<para>
|
||||
Bcompiler foi escrito por várias razões:
|
||||
<simplelist>
|
||||
<member>Para codificar script em uma aplicação PHP proprietária</member>
|
||||
<member>Para codificar algumas classes e/ou funções em uma aplicação PHP proprietária</member>
|
||||
<member>
|
||||
Para disponibilizar a produção de aplicações php-gtk que podem ser usadas em
|
||||
clientes desktops, sem precisar do php.exe.
|
||||
</member>
|
||||
<member>Para estudar a possibilidade de fazer um conversor de PHP para C</member>
|
||||
</simplelist>
|
||||
O primeiro desses objetivos é alcançado usando as funções
|
||||
<function>bcompiler_write_header</function>,
|
||||
<function>bcompiler_write_file</function> e
|
||||
<function>bcompiler_write_footer</function>
|
||||
Os arquivos bytecode podem ser
|
||||
escritos não-compactados.
|
||||
Para usar o bytecode gerado, você pode simplesmente incluí-lo
|
||||
com instruções include ou require.
|
||||
</para>
|
||||
<para>
|
||||
O segundo desses objetivos é alcançado usando as funções
|
||||
<function>bcompiler_write_header</function>,
|
||||
<function>bcompiler_write_class</function>,
|
||||
<function>bcompiler_write_footer</function>,
|
||||
<function>bcompiler_read</function>,
|
||||
e <function>bcompiler_load</function>. Os arquivos bytecode podem
|
||||
ser escritos ou como não-compactados. O
|
||||
<function>bcompiler_load</function> lê um arquivo compactado bzip que contém bytecodes,
|
||||
o que tende a ser 1/3 do tamanho original do arquivo.
|
||||
</para>
|
||||
<para>
|
||||
Para criar arquivos do tipo EXE, o bcompiler tem que ser usado com um arquivo
|
||||
de SAPI modificado ou uma versão do PHP que tenha sido compilada como uma
|
||||
biblioteca compartilhada. Nesse cenário, o bcompiler lê o bytecode
|
||||
compactado do fim do arquivo executável.
|
||||
</para>
|
||||
<para>
|
||||
O bcompiler pode aumentar performance na ordem de 30% quando usado com bytecodes
|
||||
não-compactados. Mas lembre-se que bytecode não-compactado pode ser até
|
||||
5 vezes maior que o código-fonte original. Usar compactação de bytecode
|
||||
pode evitar gasto de espaço, mas descompactar requer muito mais
|
||||
tempo do que avaliar um fonte. bcompiler também não faz nenhuma otimização
|
||||
de bytecode, isso pode ser acrescentado no futuro...
|
||||
</para>
|
||||
<para>
|
||||
Em termos de proteção de código, é seguro dizer que é seria impossível
|
||||
recriar o código-fonte exato do qual ele foi criado, e sem os
|
||||
comentários que acompanham o código fonte. Seria efetivamente inútil usar
|
||||
o bcompiler para recriar ou modificar uma classe. No entanto, é
|
||||
possível recuperar dados de um arquivo bytecode compactado - então não ponha
|
||||
suas senhas pessoais ou coisa do tipo nele.
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
&reference.bcompiler.setup;
|
||||
&reference.bcompiler.constants;
|
||||
&reference.bcompiler.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: ae Status: ready --><!-- CREDITS: narigone,ae -->
|
||||
<section xml:id="bcompiler.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
&pecl.moved;
|
||||
</para>
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;bcompiler">&url.pecl.package;bcompiler</link>.
|
||||
</para>
|
||||
<para>
|
||||
&pecl.windows.download;
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<appendix xml:id="bcompiler.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.constants;
|
||||
&no.constants;
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: n/a Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-load-exe" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_load_exe</refname>
|
||||
<refpurpose>Lê e cria classes a partir de um arquivo exe do bcompiler</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_load_exe</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Lê os dados de um arquivo executável do bcompiler e cria classes a partir dos bytecodes
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
String com o caminho do arquivo executável.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de <function>bcompiler_load</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
bcompiler_load_exe("/tmp/example.exe");
|
||||
print_r(get_defined_classes());
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_load</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,108 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-load" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_load</refname>
|
||||
<refpurpose>Lê e cria classes a partir de um arquivo compactado pelo bzip</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_load</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Lê os dados de um arquivo compactado por bzip e cria classes a partir dos bytecodes.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
String com o caminho para o arquivo comprimido pelo bzip.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de chamada à <function>bcompiler_load</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
bcompiler_load("/tmp/example");
|
||||
|
||||
print_r(get_defined_classes());
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
<note>
|
||||
<para>
|
||||
Favor usar as funções include e require para avaliar os bytecodes, é uma
|
||||
maneira mais portável e conveniente do que usar essa função.
|
||||
</para>
|
||||
<para>
|
||||
Perceba que essa função não executa código no corpo do script contido
|
||||
no arquivo de bytecode.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_load_exe</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,105 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-parse-class" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_parse_class</refname>
|
||||
<refpurpose>Lê o bytecode de uma classe e chama para uma função do usuário</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_parse_class</methodname>
|
||||
<methodparam><type>string</type><parameter>class</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>callback</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Lê os bytecodes de uma classe passa o resultado como parâmetro para uma função do usuário.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
String com o nome da classe.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>callback</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_parse_class</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
function readByteCodes($data) {
|
||||
print_r($data);
|
||||
}
|
||||
|
||||
bcompiler_parse_class("DB","readByteCodes");
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
<note>
|
||||
<para>
|
||||
Essa função foi removida do bcompiler e não está
|
||||
mais disponível a partir do bcompiler 0.5.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,99 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-read" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_read</refname>
|
||||
<refpurpose>Lê e cria uma classe a partir de um handle de arquivo</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_read</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Lê dados de um handle de arquivo aberto e cria classes a partir dos bytecodes.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_read</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$fh = fopen("/tmp/example","r");
|
||||
bcompiler_read($fh);
|
||||
fclose($fh);
|
||||
print_r(get_defined_classes());
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
<note>
|
||||
<para>
|
||||
Favor usar chamadas de include ou require para avaliar
|
||||
os bytecodes, é uma maneira mais portável e conveniente do que usar essa função.
|
||||
</para>
|
||||
<para>
|
||||
Favor notar que essa função não executará o código do corpo do script
|
||||
contido no arquivo bytecode.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,128 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-class" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_class</refname>
|
||||
<refpurpose>Escreve uma classe definida como bytecode</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_class</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>className</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>extends</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Essa função lê os bytecodes do PHP de uma classe existente e escreve ela
|
||||
para um handle de arquivo aberto.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo, como o retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>className</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
String com o nome da classe.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>extends</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_write_class</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$fh = fopen("/tmp/example","w");
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_class($fh,"DB");
|
||||
// you must write DB_common before DB_mysql, as DB_mysql extends DB_common.
|
||||
bcompiler_write_class($fh,"DB_common");
|
||||
bcompiler_write_class($fh,"DB_mysql");
|
||||
bcompiler_write_footer($fh);
|
||||
fclose($fh);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
<note>
|
||||
<para>
|
||||
Essa função não faz checagem de dependência, portanto,
|
||||
certifique-se de colocar as classes na ordem para que não resulte em
|
||||
um erro de classe não definida quando carregar o bytecode.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_header</function></member>
|
||||
<member><function>bcompiler_write_footer</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,112 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-constant" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_constant</refname>
|
||||
<refpurpose>Escreve uma constante definida como bytecodes</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_constant</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>constantName</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Lê os bytecodes do PHP de uma constante existente e escreve-os em
|
||||
um handle de arquivo aberto.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo, como o retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>constantName</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
String com o nome da constante definida.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_write_constant</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
define("MODULE_MAX", 30);
|
||||
|
||||
$fh = fopen("/tmp/example","w");
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_constant($fh,"MODULE_MAX");
|
||||
bcompiler_write_footer($fh);
|
||||
fclose($fh);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_header</function></member>
|
||||
<member><function>bcompiler_write_footer</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,139 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: n/a Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-exe-footer" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_exe_footer</refname>
|
||||
<refpurpose>Escreve na posição de início e continua até o fim do arquivo de tipo EXE</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_exe_footer</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>startpos</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Um arquivo EXE (ou auto executável) consiste de 3 partes,
|
||||
<simplelist>
|
||||
<member>
|
||||
O núcleo (código executável, ex.: um programa C compilado) que carrega o interpretador
|
||||
do PHP, a extensão do bcompiler, is Bytecodes guardados e inicia uma chamada
|
||||
para a função especificada (ex.: main) ou método da classe (ex.: main::main)
|
||||
</member>
|
||||
<member>Os Bytecodes (descomprimidos apenas momentaneamente)</member>
|
||||
<member>O rodapé do exe do bcompile</member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<para>
|
||||
Para obter um núcleo adequado, você pode compilar php_embed-based stub phpe.c
|
||||
localizado no diretório examples/embed no CVS do bcompiler.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo, como o retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>startpos</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A posição do arquivo no qual os Bytecodes começam. Pode ser obtida
|
||||
usando <function>ftell</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_write_footer</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* creating the output file (example.exe) */
|
||||
$fh = fopen("example.exe", "w");
|
||||
|
||||
/* 1) writing a stub (phpe.exe) */
|
||||
$size = filesize("phpe.exe");
|
||||
$fr = fopen("phpe.exe", "r");
|
||||
fwrite($fh, fread($fr, $size), $size);
|
||||
$startpos = ftell($fh);
|
||||
|
||||
/* 2) writing bytecodes */
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_class($fh, "myclass");
|
||||
bcompiler_write_function($fh, "main");
|
||||
bcompiler_write_footer($fh);
|
||||
|
||||
/* 3) writing EXE footer */
|
||||
bcompiler_write_exe_footer($fh, $startpos);
|
||||
|
||||
/* closing the output file */
|
||||
fclose($fh);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_header</function></member>
|
||||
<member><function>bcompiler_write_class</function></member>
|
||||
<member><function>bcompiler_write_footer</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,114 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-file" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_file</refname>
|
||||
<refpurpose>Escreve um arquivo-fonte do PHP como bytecodes</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_file</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Essa função insere arquivos-fonte especificados no bytecode, e escreve-os
|
||||
para o handle de arquivo aberto.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo aberto, como retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
String com o caminho para o arquivo-fonte.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_write_file</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$fh = fopen("example.phb", "w");
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_file($fh, "example.php");
|
||||
bcompiler_write_footer($fh);
|
||||
fclose($fh);
|
||||
/* the following should be equivalent:
|
||||
include "example.php";
|
||||
and
|
||||
include "example.phb";
|
||||
*/
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_header</function></member>
|
||||
<member><function>bcompiler_write_footer</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,100 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-footer" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_footer</refname>
|
||||
<refpurpose>Escreve o caracter \x00 para indicar o Fim dos dados compilados</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_footer</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Escreve o caracter \x00 para indicar o Fim dos dados compilados.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo aberto, como retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_write_footer</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$fh = fopen("/tmp/example","w");
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_class($fh,"DB");
|
||||
bcompiler_write_class($fh,"DB_common");
|
||||
bcompiler_write_footer($fh);
|
||||
fclose($fh);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_header</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,113 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-function" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_function</refname>
|
||||
<refpurpose>Escreve uma função definida como bytecodes</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_function</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>functionName</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Essa função lê o bytecode do PHP de uma função existente, e escreve o
|
||||
mesmo para um handle de arquivo aberto. Ordem não é importante, (ex.: se
|
||||
função b usa função a, e você compilar como no exemplo abaixo, funcionará
|
||||
perfeitamente).
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo aberto, como retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>functionName</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
String com o nome da função.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_write_function</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$fh = fopen("/tmp/example","w");
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_function($fh,"my_function_a");
|
||||
bcompiler_write_function($fh,"my_function_b");
|
||||
bcompiler_write_footer($fh);
|
||||
fclose($fh);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_header</function></member>
|
||||
<member><function>bcompiler_write_footer</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,113 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-functions-from-file" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_functions_from_file</refname>
|
||||
<refpurpose>Escreve todas as funções definidas em um arquivo como bytecodes</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_functions_from_file</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>fileName</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Essa função procura por todas as funções declaradas em um dado arquivo, e
|
||||
escreve o bytecode correspondente para um handle de arquivo aberto.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo aberto, como retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>fileName</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Caminho para o arquivo à ser compilado.
|
||||
Você deve sempre chamar include ou require no arquivo que deseja compilar.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo de uso de <function>bcompiler_write_functions_from_file</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
require('module.php');
|
||||
|
||||
$fh = fopen("/tmp/example","w");
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_functions_from_file($fh,'module.php');
|
||||
bcompiler_write_footer($fh);
|
||||
fclose($fh);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_header</function></member>
|
||||
<member><function>bcompiler_write_footer</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,109 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-header" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_header</refname>
|
||||
<refpurpose>Escreve o cabeçalho do bcompiler</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_header</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>write_ver</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Escreve a parte do cabeçalho do arquivo bcompiler.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filehandle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Handle de arquivo aberto, como retornado por <function>fopen</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>write_ver</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Pode ser usado para escrever bytecode em um formato mais antigo,
|
||||
para que você possa usá-lo com versões mais velhas do bcompiler.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>bcompiler_write_header</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$fh = fopen("/tmp/example","w");
|
||||
bcompiler_write_header($fh);
|
||||
bcompiler_write_class($fh,"DB");
|
||||
bcompiler_write_footer($fh);
|
||||
fclose($fh);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>bcompiler_write_footer</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,52 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: narigone Status: ready -->
|
||||
<refentry xml:id="function.bcompiler-write-included-filename" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>bcompiler_write_included_filename</refname>
|
||||
<refpurpose>Escreve os bytecodes de um arquivo incluído (via include)</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>bcompiler_write_included_filename</methodname>
|
||||
<methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
&warn.undocumented.func;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.bcompiler" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>bcompiler &Functions;</title>
|
||||
<partintro>
|
||||
<section xml:id="bcompiler.contact">
|
||||
<title>Informação para contato</title>
|
||||
<para>
|
||||
Se você tiver comentários, resoluções de bugs, melhoramentos ou quer ajudar
|
||||
a desenvolver essa fera, você pode me enviar um e-mail para <link
|
||||
xlink:href="mailto:alan_k@php.net">alan_k@php.net</link>. Qualquer ajuda é
|
||||
muito bem-vinda.
|
||||
</para>
|
||||
</section>
|
||||
</partintro>
|
||||
|
||||
&reference.bcompiler.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<chapter xml:id="bcompiler.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<section xml:id="bcompiler.requirements">
|
||||
&reftitle.required;
|
||||
&no.requirement;
|
||||
</section>
|
||||
|
||||
&reference.bcompiler.configure;
|
||||
|
||||
<section xml:id="bcompiler.configuration">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
|
||||
<section xml:id="bcompiler.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<!-- EN-Revision: 0970bf6ea3abcd27673fe4632a1ee62eb9f5223e Maintainer: felipe Status: revision --><!-- CREDITS: felipe, adiel -->
|
||||
|
||||
<book xml:id="book.classkit" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Classkit</title>
|
||||
@@ -12,7 +12,7 @@
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Esta extensão foi substituida por por <link linkend="book.runkit">runkit</link>,
|
||||
Esta extensão foi substituida por por <link linkend="book.runkit7">runkit</link>,
|
||||
essa nova extensão não limita-se apenas a manipulação de classes extendendo
|
||||
também as funções.
|
||||
</para>
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: n/a Maintainer: felipe Status: ready -->
|
||||
|
||||
<book xml:id="book.crack" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Crack</title>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.crack">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Estas funções permitem a você usar a biblioteca CrackLib para testar a
|
||||
'força' de uma senha. A 'força' de uma senha é testada pelo seu tamanho,
|
||||
uso de letras maiúsculas e minúsculas, e conferido em um dicionário
|
||||
CrackLib especificado. CrackLib irá também dar mensagens de diagnóstico
|
||||
utéis que irão ajudar a 'fortalecer' a sua senha.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
&pecl.moved-ver;5.0.0.
|
||||
</para>
|
||||
</note>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
&reference.crack.setup;
|
||||
&reference.crack.constants;
|
||||
&reference.crack.examples;
|
||||
&reference.crack.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: fernandoc Status: ready -->
|
||||
<section xml:id="crack.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
&pecl.moved;
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;crack">&url.pecl.package;crack</link>.
|
||||
</para>
|
||||
<para>
|
||||
Para poder usar estas funções você deverá compilar o PHP com suporte a Crack
|
||||
usando a opção de configuração
|
||||
<option role="configure">--with-crack[=DIR]</option>.
|
||||
</para>
|
||||
<para>
|
||||
Usuários do windows devem abilitar <filename>php_crack.dll</filename> dentro
|
||||
do &php.ini; para poder usar estas funções.
|
||||
&pecl.windows.download;
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: felipe Status: ready -->
|
||||
|
||||
<appendix xml:id="crack.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.constants;
|
||||
&no.constants;
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: n/a Maintainer: felipe Status: ready -->
|
||||
|
||||
<appendix xml:id="crack.examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
Este exemplo mostra como abrir um dicionário CrackLib, testar uma dada
|
||||
senha, receber alguma mensagem de diagnóstico, e fechar o dicionário.
|
||||
<example>
|
||||
<title>Exemplo da CrackLib</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// Open CrackLib Dictionary
|
||||
$dictionary = crack_opendict('/usr/local/lib/pw_dict')
|
||||
or die('Unable to open CrackLib dictionary');
|
||||
|
||||
// Perform password check
|
||||
$check = crack_check($dictionary, 'gx9A2s0x');
|
||||
|
||||
// Retrieve messages
|
||||
$diag = crack_getlastmessage();
|
||||
echo $diag; // 'strong password'
|
||||
|
||||
// Close dictionary
|
||||
crack_closedict($dictionary);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Se <function>crack_check</function> retorna &true;,
|
||||
<function>crack_getlastmessage</function> retornará 'strong password'.
|
||||
</para>
|
||||
</note>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: fernandoc Status: ready -->
|
||||
<!-- splitted from ./en/functions/crack.xml, last change in rev 1.1 -->
|
||||
<refentry xml:id="function.crack-check" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>crack_check</refname>
|
||||
<refpurpose>Faz uma conferencia obscura com a senha indicada</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>crack_check</methodname>
|
||||
<methodparam><type>resource</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>password</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>crack_check</methodname>
|
||||
<methodparam><type>string</type><parameter>password</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Realiza uma conferencia obscura com o password dado no
|
||||
dicionário especificado.
|
||||
</para>
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>dictionary</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O dicionário crack lib. Se não for especificado, o último dicionário aberto
|
||||
é usado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>password</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O password testado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna &true; se <parameter>password</parameter> é forte, ou &false; se não for.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,72 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: fernandoc Status: ready -->
|
||||
<!-- splitted from ./en/functions/crack.xml, last change in rev 1.1 -->
|
||||
<refentry xml:id="function.crack-closedict" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>crack_closedict</refname>
|
||||
<refpurpose>Fecha um dicionário CrackLib aberto</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>crack_closedict</methodname>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>crack_closedict</function> fecha o identificador de
|
||||
<parameter>dictionary</parameter> indicado.
|
||||
</para>
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>dictionary</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O dicinário para fechar. Se não for especificado, o diretório
|
||||
atual é fechado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>crack_opendict</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,107 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: fernandoc Status: ready -->
|
||||
<!-- splitted from ./en/functions/crack.xml, last change in rev 1.1 -->
|
||||
<refentry xml:id="function.crack-getlastmessage" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>crack_getlastmessage</refname>
|
||||
<refpurpose>Retorna a mensagem do último teste de senha</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>crack_getlastmessage</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>crack_getlastmessage</function> retorna a mensagem do último
|
||||
teste de senha.
|
||||
</para>
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
A mensagem do ultimo teste de senha ou &false; se não houve testes
|
||||
feitos até agora.
|
||||
</para>
|
||||
<para>
|
||||
A mensagem retornada é uma de:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it's WAY too short</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it is too short</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it does not contain enough DIFFERENT characters</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it is all whitespace</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it is too simplistic/systematic</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it looks like a National Insurance number.</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it is based on a dictionary word</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>it is based on a (reversed) dictionary word</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>strong password</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>crack_check</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,78 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: fernandoc Status: ready -->
|
||||
<!-- splitted from ./en/functions/crack.xml, last change in rev 1.1 -->
|
||||
<refentry xml:id="function.crack-opendict" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>crack_opendict</refname>
|
||||
<refpurpose>Abre um novo dicionário CrackLib</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>crack_opendict</methodname>
|
||||
<methodparam><type>string</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>crack_opendict</function> abre o
|
||||
<parameter>dictionary</parameter> CrackLib especificado para usar com a função
|
||||
<function>crack_check</function>.
|
||||
</para>
|
||||
&warn.experimental.func;
|
||||
<note>
|
||||
<para>
|
||||
Apenas um dicionário pode estar aberto de cada vez.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>dictionary</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O caminho para o dicinário Cracklib.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna o identificador de recurso do dicionário em caso de sucesso, ou &false; em caso de falha.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>crack_check</function></member>
|
||||
<member><function>crack_closedict</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.crack" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>&Functions; da Crack</title>
|
||||
|
||||
&reference.crack.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,60 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: felipe Status: ready --><!-- CREDITS: felipe, rogeriopradoj -->
|
||||
|
||||
<chapter xml:id="crack.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="crack.requirements">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
Maiores informações sobre a biblioteca CrackLib podem ser encontradas em
|
||||
<link xlink:href="&url.crack;">&url.crack;</link>.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Installation -->
|
||||
&reference.crack.configure;
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Configuration -->
|
||||
<section xml:id="crack.configuration">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="crack.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
A extenção CrackLib define um identificador de resource de dicionário
|
||||
retornado pela <function>crack_opendict</function>.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: none Status: ready --><!-- CREDITS: rogeriopradoj -->
|
||||
<!--
|
||||
Do NOT translate this file
|
||||
-->
|
||||
<versions>
|
||||
<function name='crack_check' from='PECL crack >= 0.1'/>
|
||||
<function name='crack_closedict' from='PECL crack >= 0.1'/>
|
||||
<function name='crack_getlastmessage' from='PECL crack >= 0.1'/>
|
||||
<function name='crack_opendict' from='PECL crack >= 0.1'/>
|
||||
</versions>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: felipe Status: ready -->
|
||||
|
||||
<book xml:id="book.cyrus" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Administração de Cyrus IMAP</title>
|
||||
<titleabbrev>Cyrus</titleabbrev>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.cyrus">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
¬e.no-windows.extension;
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
&pecl.moved-ver;5.0.0.
|
||||
</para>
|
||||
</note>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
&reference.cyrus.setup;
|
||||
&reference.cyrus.constants;
|
||||
&reference.cyrus.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<section xml:id="cyrus.installation" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
Para habilitar suporte a Cyrus IMAP e para usar estas funções você tem que
|
||||
compilar o PHP com a opção <option role="configure">--with-cyrus</option>.
|
||||
</para>
|
||||
|
||||
&warn.imaprecodeyaz;
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,73 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<appendix xml:id="cyrus.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>CYRUS_CONN_NONSYNCLITERAL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>CYRUS_CONN_INITIALRESPONSE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>CYRUS_CALLBACK_NUMBERED</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>CYRUS_CALLBACK_NOLITERAL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.cyrus" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>&Functions; para Cyrus</title>
|
||||
|
||||
&reference.cyrus.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
-->
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: felipe Status: ready -->
|
||||
|
||||
<chapter xml:id="cyrus.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="cyrus.requirements">
|
||||
&reftitle.required;
|
||||
&no.requirement;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Installation -->
|
||||
&reference.cyrus.configure;
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Configuration -->
|
||||
<section xml:id="cyrus.configuration">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="cyrus.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
Esta extensão define um identificador de conexão Cyrus IMAP retornado pela
|
||||
<function>cyrus_connect</function>.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: felipe Status: ready -->
|
||||
|
||||
<book xml:id="book.fam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>File Alteration Monitor</title>
|
||||
<titleabbrev>FAM</titleabbrev>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.fam">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
FAM monitora arquivos e diretórios, notificando alterações relevantes
|
||||
na aplicação. Maiores informações sobre FAM estão disponíveis em
|
||||
<link xlink:href="&url.fam;">&url.fam;</link>.
|
||||
</para>
|
||||
<para>
|
||||
Um script PHP deve especificar uma lista de arquivos para o monitor FAM,
|
||||
usando as funções disponíveis por essa extensão.
|
||||
</para>
|
||||
<para>
|
||||
O processo FAM é iniciado quando a primeira conexão de alguma aplicação está
|
||||
aberta. E fecha após todas as conexões feitas por ele terminarem.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
&pecl.moved-ver;5.1.0.
|
||||
</para>
|
||||
</note>
|
||||
¬e.no-windows.extension;
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
&reference.fam.setup;
|
||||
&reference.fam.constants;
|
||||
&reference.fam.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: marcelo Status: ready $ -->
|
||||
<section xml:id="fam.installation" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
Para ter suporte ao FAM no php você deve compilar o PHP com <option
|
||||
role="configure">--with-fam[=DIR]</option> onde DIR é a localização
|
||||
do diretório contendo a biblioteca e diretório de includes.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,103 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<appendix xml:id="fam.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<table>
|
||||
<title>Constantes de eventos FAM</title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Constante</entry>
|
||||
<entry>Descrição</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMChanged</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>
|
||||
Algum valor que pode ser obtido com fstat(1) alterado para um arquivo
|
||||
ou diretório.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMDeleted</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>Um arquivo que foi deletado ou renomeado.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMStartExecuting</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>Um arquivo executável que acabou de ser iniciado.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMStopExecuting</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>Um arquivo executável que foi executado.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMCreated</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>Um arquivo foi criado no diretório.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMMoved</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>Esse evento nunca ocorre.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMAcknowledge</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>
|
||||
Um evento em resposta para <function>fam_cancel_monitor</function>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMExists</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>
|
||||
Um evento acima de uma requisição para monitorar um arquivo ou diretório.
|
||||
Quando um diretório é monitorado, um evento para esse diretório e cada
|
||||
arquivo contido nele é usado.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<constant>FAMEndExist</constant> (<type>integer</type>)
|
||||
</entry>
|
||||
<entry>Evento após o último evento FAMEExists.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,84 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.fam-cancel-monitor" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_cancel_monitor</refname>
|
||||
<refpurpose>Finalizando monitoramento</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>fam_cancel_monitor</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Finaliza um monitoramento no recurso.
|
||||
</para>
|
||||
<para>
|
||||
Além disso um evento <constant>FAMAcknowledge</constant> ocorre.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando uma conexão para um serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>fam_monitor</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource retornado por uma das funções <literal>fam_monitor_XXX</literal>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_monitor_file</function></member>
|
||||
<member><function>fam_monitor_directory</function></member>
|
||||
<member><function>fam_monitor_collection</function></member>
|
||||
<member><function>fam_suspend_monitor</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,69 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.fam-close" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_close</refname>
|
||||
<refpurpose>Fecha uma conexão FAM</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>fam_close</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Fecha uma conexão para um serviço.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando uma conexão para serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_monitor_open</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,107 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready --><!-- CREDITS: marcelo -->
|
||||
<refentry xml:id="function.fam-monitor-collection" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_monitor_collection</refname>
|
||||
<refpurpose>Monitora alterações de uma coleção de arquivos em um diretório</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>fam_monitor_collection</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>dirname</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>depth</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>mask</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Requisita monitoramento para uma coleção de arquivos dentro de um diretório.
|
||||
</para>
|
||||
<para>
|
||||
Um evento FAM irá ser gerado quando o status dos arquivos forem alterados.
|
||||
Os possíveis códigos do evento são descritos em detalhes na
|
||||
<link linkend="fam.constants">parte de constantes</link> dessa seção.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando uma conexão para o serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dirname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Caminho do diretório para monitorar arquivos
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>depth</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O máximo de busca <parameter>depth</parameter> iniciando deste
|
||||
diretório
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>mask</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um padrão shell <parameter>mask</parameter> restringido os nomes de arquivos
|
||||
parar serem verificados
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um resource de monitoramento ou &false; em erros.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_monitor_file</function></member>
|
||||
<member><function>fam_monitor_directory</function></member>
|
||||
<member><function>fam_cancel_monitor</function></member>
|
||||
<member><function>fam_suspend_monitor</function></member>
|
||||
<member><function>fam_resume_monitor</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,92 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready --><!-- CREDITS: marcelo -->
|
||||
<refentry xml:id="function.fam-monitor-directory" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_monitor_directory</refname>
|
||||
<refpurpose>Monitora alterações em diretórios</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>fam_monitor_directory</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>dirname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Requisita monitoramento para um diretório e todos os arquivos contidos nele.
|
||||
</para>
|
||||
<para>
|
||||
Um evento FAM irá ser gerado quando o status do diretório (ex.: o resultado da
|
||||
função <function>stat</function>
|
||||
nesse diretório) ou isso (ex. o resultado de <function>readdir</function>)
|
||||
acontecerem.
|
||||
</para>
|
||||
<para>
|
||||
Os possíveis códigos do evento são descritos em detalhes na
|
||||
<link linkend="fam.constants">parte de constantes</link> dessa seção.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando a conexão para o serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dirname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Caminho para o diretório a ser monitorado
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um resource de monitoração ou &false; em erros.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_monitor_file</function></member>
|
||||
<member><function>fam_monitor_collection</function></member>
|
||||
<member><function>fam_cancel_monitor</function></member>
|
||||
<member><function>fam_suspend_monitor</function></member>
|
||||
<member><function>fam_resume_monitor</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,88 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready --><!-- CREDITS: marcelo -->
|
||||
<refentry xml:id="function.fam-monitor-file" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_monitor_file</refname>
|
||||
<refpurpose>Monitora alterações em um arquivo</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>fam_monitor_file</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Requisita monitoramento para um único arquivo. Um evento FAM irá ser gerado
|
||||
quando o status do arquivo (ex. o resultado da função
|
||||
<function>stat</function> no arquivo) for alterado.
|
||||
</para>
|
||||
<para>
|
||||
Os possíveis códigos do evento são descritos em detalhes na
|
||||
<link linkend="fam.constants">parte de constantes</link> dessa seção.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando a conexão para o serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Caminho para o arquivo a ser monitorado
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um resource de monitoramento ou &false; em erros.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_monitor_directory</function></member>
|
||||
<member><function>fam_monitor_collection</function></member>
|
||||
<member><function>fam_cancel_monitor</function></member>
|
||||
<member><function>fam_suspend_monitor</function></member>
|
||||
<member><function>fam_resume_monitor</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready --><!-- CREDITS: marcelo -->
|
||||
<refentry xml:id="function.fam-next-event" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_next_event</refname>
|
||||
<refpurpose>Pega o próximo evento FAM pendente</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>fam_next_event</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Retorna o próximo evento FAM pendente.
|
||||
</para>
|
||||
<para>
|
||||
A função irá bloquear até que um evento que está disponível possa ser checado
|
||||
usando <function>fam_pending</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando a conexão para o serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um array que contém um código de evento FAM no elemento
|
||||
'<literal>code</literal>', o caminho do arquivo deste evento ficam no
|
||||
elemento '<literal>filename</literal>' e opcionalmente o hostname
|
||||
no elemento '<literal>hostname</literal>'.
|
||||
</para>
|
||||
<para>
|
||||
Os possíveis códigos do evento são descritos em detalhes na
|
||||
<link linkend="fam.constants">parte de constantes</link> dessa seção.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_pending</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,69 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.fam-open" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_open</refname>
|
||||
<refpurpose>Abre uma conexão para o daemon FAM</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>fam_open</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>appname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Abre uma conexão para o servidor do FAM.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>appname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma string identificando a aplicação para logar
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um resource representando a conexão para o serviço FAM em sucesso
|
||||
ou &false; em erros.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_close</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,70 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.fam-pending" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_pending</refname>
|
||||
<refpurpose>Verifica por eventos FAM pendentes</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>fam_pending</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Verifica por eventos FAM pendentes.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando uma conexão para um serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um valor diferente de zero se eventos estão disponíveis para
|
||||
serem obtidos usando <function>fam_next_event</function>, caso contrário zero.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_next_event</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.fam-resume-monitor" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_resume_monitor</refname>
|
||||
<refpurpose>Recomeça um monitoramento suspendido</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>fam_resume_monitor</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Recomeça o monitoramento de um recurso previamente suspendido usando
|
||||
<function>fam_suspend_monitor</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando a conexão para um serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>fam_monitor</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource retornado por uma das funções <literal>fam_monitor_XXX</literal>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_suspend_monitor</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,83 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.fam-suspend-monitor" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fam_suspend_monitor</refname>
|
||||
<refpurpose>Suspende monitoramento temporariamente</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>fam_suspend_monitor</methodname>
|
||||
<methodparam><type>resource</type><parameter>fam</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>fam_suspend_monitor</function> temporariamente suspende o monitoramento de um recurso.
|
||||
</para>
|
||||
<para>
|
||||
O monitoramento pode continuar, usando <function>fam_resume_monitor</function>
|
||||
sem a necessidade de requisição completa de de um novo monitor.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fam</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource representando a conexão para um serviço FAM retornado pela
|
||||
<function>fam_open</function>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>fam_monitor</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um resource retornado por uma das funções <literal>fam_monitor_XXX</literal>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>fam_cancel_monitor</function></member>
|
||||
<member><function>fam_resume_monitor</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.fam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>&Functions; de FAM</title>
|
||||
|
||||
&reference.fam.entities.functions;
|
||||
|
||||
</reference>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: felipe Status: ready -->
|
||||
|
||||
<chapter xml:id="fam.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="fam.requirements">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
Essa extensão usa as funções da biblioteca<link xlink:href="&url.fam.download;">
|
||||
FAM</link>, desenvolvida por SGI. Portanto, você deverá fazer o download e
|
||||
instalar a biblioteca FAM.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Installation -->
|
||||
&reference.fam.configure;
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Configuration -->
|
||||
<section xml:id="fam.configuration">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="fam.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
Há dois tipos de resource usado no módulo FAM. O primeiro é o
|
||||
da conexão do serviço FAM retornado pela
|
||||
<function>fam_open</function>, o segundo é o resource de monitoração retornado
|
||||
pelas funções <literal>fam_monitor_XXX</literal>.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: felipe Status: ready --><!-- CREDITS: fernandoc -->
|
||||
|
||||
<book xml:id="book.fribidi" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>FriBiDi</title>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.fribidi">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
FriBiDi é uma implementação livre de <link xlink:href="&url.bidi.algorithm;">
|
||||
Unicode Bidirectional Algorithm</link>.
|
||||
</para>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
&reference.fribidi.setup;
|
||||
&reference.fribidi.constants;
|
||||
&reference.fribidi.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: fernandoc Status: ready -->
|
||||
<section xml:id="fribidi.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
&pecl.moved;
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;fribidi">&url.pecl.package;fribidi</link>.
|
||||
</para>
|
||||
<para>
|
||||
Para poder usar estas funções você deve compilar o PHP com suporte Fribidi
|
||||
usando a opção de configuração
|
||||
<option role="configure">--with-fribidi[=DIR]</option>.
|
||||
</para>
|
||||
<para>
|
||||
usuários do Windows irão ativar <filename>php_fribidi.dll</filename> dentro
|
||||
do &php.ini; para poder usar estas funções.
|
||||
&pecl.windows.download;
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,139 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<appendix xml:id="fribidi.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_CHARSET_UTF8</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Unicode
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_CHARSET_8859_6</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Arabic
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_CHARSET_8859_8</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Hebrew
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_CHARSET_CP1255</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Hebrew/Yiddish
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_CHARSET_CP1256</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Arabic
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_CHARSET_ISIRI_3342</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Persian
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_CHARSET_CAP_RTL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Usado para fim de teste, irá tratar CAPS como letras não Inglesas
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_RTL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Right to left
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_LTR</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Left to right
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>FRIBIDI_AUTO</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Autodetecta a direção base.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: fernandoc Status: ready -->
|
||||
<refentry xml:id="function.fribidi-log2vis" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>fribidi_log2vis</refname>
|
||||
<refpurpose>Converte uma string lógica para uma visual</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>fribidi_log2vis</methodname>
|
||||
<methodparam><type>string</type><parameter>str</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>direction</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>charset</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Converte uma string lógica para uma visual.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>str</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string lógica.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>direction</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma de <constant>FRIBIDI_RTL</constant>,
|
||||
<constant>FRIBIDI_LTR</constant> or <constant>FRIBIDI_AUTO</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>charset</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma das constantes <literal>FRIBIDI_CHARSET_XXX</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna a string visual em caso de sucesso &false; em caso de falha.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.fribidi" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>&Functions; da FriBiDi</title>
|
||||
|
||||
&reference.fribidi.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: felipe Status: ready -->
|
||||
|
||||
<chapter xml:id="fribidi.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="fribidi.requirements">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
Você precisa fazer download e instalar o
|
||||
<link xlink:href="&url.fribidi;">pacote FriBiDi</link>.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Installation -->
|
||||
&reference.fribidi.configure;
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Configuration -->
|
||||
<section xml:id="fribidi.configuration">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="fribidi.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<book xml:id="book.parsekit" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Parsekit</title>
|
||||
|
||||
<preface xml:id="intro.parsekit">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Estas funções permitem analise runtime de opcodes compilados de scripts PHP.
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
&reference.parsekit.setup;
|
||||
&reference.parsekit.constants;
|
||||
&reference.parsekit.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<section xml:id="parsekit.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
&pecl.moved;
|
||||
</para>
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;parsekit">&url.pecl.package;parsekit</link>.
|
||||
</para>
|
||||
<para>
|
||||
&pecl.windows.download;
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,121 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: n/a Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.parsekit-compile-file" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>parsekit_compile_file</refname>
|
||||
<refpurpose>Compila uma string de código PHP e retorna um array com o resultado</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>parsekit_compile_file</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter role="reference">errors</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma string contendo o nome do arquivo compilado.
|
||||
Similar para o argumento para <function>include</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>errors</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um hash 2D de erros (incluindo erros fatais) encontrados durante a compilação.
|
||||
Retornado por referência.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>options</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma das constantes <constant>PARSEKIT_QUIET</constant> ou
|
||||
<constant>PARSEKIT_SIMPLE</constant>. Pra produzir diferente
|
||||
tipos de avisos na saída retornada.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna uma complexa estrutura de array multi-camadas como visto abaixo.
|
||||
</para>
|
||||
</refsect1>
|
||||
<!-- No changelog: it's only in PECL. -->
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo da <function>parsekit_compile_file</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
var_dump(parsekit_compile_file('hello_world.php', $errors, PARSEKIT_SIMPLE));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
array(5) {
|
||||
[0]=>
|
||||
string(37) "ZEND_ECHO UNUSED 'Hello World' UNUSED"
|
||||
[1]=>
|
||||
string(30) "ZEND_RETURN UNUSED NULL UNUSED"
|
||||
[2]=>
|
||||
string(42) "ZEND_HANDLE_EXCEPTION UNUSED UNUSED UNUSED"
|
||||
["function_table"]=>
|
||||
NULL
|
||||
["class_table"]=>
|
||||
NULL
|
||||
}
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>parsekit_compile_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,209 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: n/a Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.parsekit-compile-string" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>parsekit_compile_string</refname>
|
||||
<refpurpose>Compila uma string de código PHP e retorna um array com o resultado</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>parsekit_compile_string</methodname>
|
||||
<methodparam><type>string</type><parameter>phpcode</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter role="reference">errors</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>phpcode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma string contendo phpcode. Similar ao argumento para <function>eval</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>errors</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Um hash 2D de erros (incluindo erros fatais) encontrados durante a compilação.
|
||||
Retornado por referência.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>options</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma das constantes <constant>PARSEKIT_QUIET</constant> ou
|
||||
<constant>PARSEKIT_SIMPLE</constant>. Para produzir vários tipos
|
||||
de avisos na saída retornada.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna uma complexa estrutura de array multi-camada como visto abaixo.
|
||||
</para>
|
||||
</refsect1>
|
||||
<!-- No changelog: it's only in PECL. -->
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Exemplo da <function>parsekit_compile_string</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$ops = parsekit_compile_string('
|
||||
echo "Foo\n";
|
||||
', $errors, PARSEKIT_QUIET);
|
||||
|
||||
var_dump($ops);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
array(20) {
|
||||
["type"]=>
|
||||
int(4)
|
||||
["type_name"]=>
|
||||
string(14) "ZEND_EVAL_CODE"
|
||||
["fn_flags"]=>
|
||||
int(0)
|
||||
["num_args"]=>
|
||||
int(0)
|
||||
["required_num_args"]=>
|
||||
int(0)
|
||||
["pass_rest_by_reference"]=>
|
||||
bool(false)
|
||||
["uses_this"]=>
|
||||
bool(false)
|
||||
["line_start"]=>
|
||||
int(0)
|
||||
["line_end"]=>
|
||||
int(0)
|
||||
["return_reference"]=>
|
||||
bool(false)
|
||||
["refcount"]=>
|
||||
int(1)
|
||||
["last"]=>
|
||||
int(3)
|
||||
["size"]=>
|
||||
int(3)
|
||||
["T"]=>
|
||||
int(0)
|
||||
["last_brk_cont"]=>
|
||||
int(0)
|
||||
["current_brk_cont"]=>
|
||||
int(-1)
|
||||
["backpatch_count"]=>
|
||||
int(0)
|
||||
["done_pass_two"]=>
|
||||
bool(true)
|
||||
["filename"]=>
|
||||
string(17) "Parsekit Compiler"
|
||||
["opcodes"]=>
|
||||
array(3) {
|
||||
[8594800]=>
|
||||
array(5) {
|
||||
["opcode"]=>
|
||||
int(40)
|
||||
["opcode_name"]=>
|
||||
string(9) "ZEND_ECHO"
|
||||
["flags"]=>
|
||||
int(768)
|
||||
["op1"]=>
|
||||
array(3) {
|
||||
["type"]=>
|
||||
int(1)
|
||||
["type_name"]=>
|
||||
string(8) "IS_CONST"
|
||||
["constant"]=>
|
||||
&string(4) "Foo
|
||||
"
|
||||
}
|
||||
["lineno"]=>
|
||||
int(2)
|
||||
}
|
||||
["859484C"]=>
|
||||
array(6) {
|
||||
["opcode"]=>
|
||||
int(62)
|
||||
["opcode_name"]=>
|
||||
string(11) "ZEND_RETURN"
|
||||
["flags"]=>
|
||||
int(16777984)
|
||||
["op1"]=>
|
||||
array(3) {
|
||||
["type"]=>
|
||||
int(1)
|
||||
["type_name"]=>
|
||||
string(8) "IS_CONST"
|
||||
["constant"]=>
|
||||
&NULL
|
||||
}
|
||||
["extended_value"]=>
|
||||
int(0)
|
||||
["lineno"]=>
|
||||
int(3)
|
||||
}
|
||||
[8594898]=>
|
||||
array(4) {
|
||||
["opcode"]=>
|
||||
int(149)
|
||||
["opcode_name"]=>
|
||||
string(21) "ZEND_HANDLE_EXCEPTION"
|
||||
["flags"]=>
|
||||
int(0)
|
||||
["lineno"]=>
|
||||
int(3)
|
||||
}
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>parsekit_compile_file</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,122 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<refentry xml:id="function.parsekit-func-arginfo" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>parsekit_func_arginfo</refname>
|
||||
<refpurpose>Retorna informação de argumento(s) de uma função</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>parsekit_func_arginfo</methodname>
|
||||
<methodparam><type>mixed</type><parameter>function</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
&warn.experimental.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>function</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma string descrevendo uma função, ou um array descrevendo uma classe/método.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Retorna um array contendo informação dos argumentos.
|
||||
</para>
|
||||
</refsect1>
|
||||
<!-- No changelog: it's only in PECL. -->
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>parsekit_func_arginfo</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function foo($bar, stdClass $baz, &$bomb, $bling = false) {
|
||||
}
|
||||
|
||||
var_dump(parsekit_func_arginfo('foo'));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
array(4) {
|
||||
[0]=>
|
||||
array(3) {
|
||||
["name"]=>
|
||||
string(3) "bar"
|
||||
["allow_null"]=>
|
||||
bool(true)
|
||||
["pass_by_reference"]=>
|
||||
bool(false)
|
||||
}
|
||||
[1]=>
|
||||
array(4) {
|
||||
["name"]=>
|
||||
string(3) "baz"
|
||||
["class_name"]=>
|
||||
string(8) "stdClass"
|
||||
["allow_null"]=>
|
||||
bool(false)
|
||||
["pass_by_reference"]=>
|
||||
bool(false)
|
||||
}
|
||||
[2]=>
|
||||
array(3) {
|
||||
["name"]=>
|
||||
string(4) "bomb"
|
||||
["allow_null"]=>
|
||||
bool(true)
|
||||
["pass_by_reference"]=>
|
||||
bool(true)
|
||||
}
|
||||
[3]=>
|
||||
array(3) {
|
||||
["name"]=>
|
||||
string(5) "bling"
|
||||
["allow_null"]=>
|
||||
bool(true)
|
||||
["pass_by_reference"]=>
|
||||
bool(false)
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
<section xml:id="parsekit.configuration" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<reference xml:id="ref.parsekit" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>&Functions; da Parsekit</title>
|
||||
|
||||
&reference.parsekit.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -1,43 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: felipe Status: ready -->
|
||||
|
||||
<chapter xml:id="parsekit.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<section xml:id="parsekit.requirements">
|
||||
&reftitle.required;
|
||||
&no.requirement;
|
||||
</section>
|
||||
|
||||
&reference.parsekit.configure;
|
||||
|
||||
&reference.parsekit.ini;
|
||||
|
||||
<section xml:id="parsekit.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: royopa Status: ready --><!-- CREDITS: royopa -->
|
||||
|
||||
<book xml:id="book.scream" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Break the silence operator</title>
|
||||
<titleabbrev>scream</titleabbrev>
|
||||
|
||||
<preface xml:id="intro.scream">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
A extensão scream dá a possibilidade de desabilitar o silenciamento do
|
||||
<link linkend="language.operators.errorcontrol">operador de controle de erros</link>
|
||||
então todos os erros serão reportados. Essa característica é controlada por uma configuração ini.
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
&reference.scream.setup;
|
||||
&reference.scream.examples;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: royopa Status: ready --><!-- CREDITS: royopa -->
|
||||
|
||||
<section xml:id="scream.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;scream">&url.pecl.package;scream</link>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: c5c902b47755cf0c0761e90cce4cc8ee1eb9426e Maintainer: royopa Status: ready --><!-- CREDITS: royopa -->
|
||||
|
||||
<chapter xml:id="scream.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.examples;
|
||||
|
||||
<section xml:id="scream.examples-simple">
|
||||
<title>Examplo que exibe o efeito do scream</title>
|
||||
<para>
|
||||
Esse exemplo demonstra como o scream afeta o comportamento do manipulador de erros do PHP.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Habilitando e desabilitando o scream em tempo de execução</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// Make sure errors will be shown
|
||||
ini_set('display_errors', true);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
// Disable scream - this is the default and produce an error
|
||||
ini_set('scream.enabled', false);
|
||||
echo "Opening http://example.com/not-existing-file\n";
|
||||
@fopen('http://example.com/not-existing-file', 'r');
|
||||
|
||||
// Now enable scream and try again
|
||||
ini_set('scream.enabled', true);
|
||||
echo "Opening http://example.com/not-existing-file\n";
|
||||
@fopen('http://example.com/not-existing-file', 'r');
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Opening http://example.com/not-existing-file
|
||||
Opening http://example.com/not-existing-file
|
||||
|
||||
Warning: fopen(http://example.com/not-existing-file): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in example.php on line 14
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
Normalmente deve-se definir isso no <link linkend="configuration.file">arquivo de configuração php.ini</link>
|
||||
ao invés de mudar o código.
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f052ac1bd73549125c3fc3dc68a36d4b0608a16d Maintainer: royopa Status: ready --><!-- CREDITS: royopa -->
|
||||
|
||||
<section xml:id="scream.configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.runtime;
|
||||
&extension.runtime;
|
||||
|
||||
<para>
|
||||
<table>
|
||||
<title>scream &ConfigureOptions;</title>
|
||||
<tgroup cols="4">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Name;</entry>
|
||||
<entry>&Default;</entry>
|
||||
<entry>&Changeable;</entry>
|
||||
<entry>Changelog</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><link linkend="ini.scream.enabled">scream.enabled</link></entry>
|
||||
<entry>Off</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
&ini.php.constants;
|
||||
|
||||
</para>
|
||||
|
||||
&ini.descriptions.title;
|
||||
|
||||
<para>
|
||||
<variablelist>
|
||||
|
||||
<varlistentry xml:id="ini.scream.enabled">
|
||||
<term>
|
||||
<parameter>scream.enabled</parameter>
|
||||
<type>int</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Se deve ou não habilitar o scream.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: royopa Status: ready --><!-- CREDITS: royopa -->
|
||||
|
||||
<chapter xml:id="scream.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<section xml:id="scream.requirements">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
Versão PHP 5.2.0 ou superior.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
&reference.scream.configure;
|
||||
&reference.scream.ini;
|
||||
|
||||
<section xml:id="scream.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user