cvs: phpdoc-pl /reference/ibase/functions ibase-add-user.xml ibase-close.xml ibase-modify-user.xml ibase-rollback-ret.xml ibase-timefmt.xml
ibase-trans.xml

From: Date: Thu, 18 Jan 2007 12:32:34 +0000
Subject: cvs: phpdoc-pl /reference/ibase/functions ibase-add-user.xml ibase-close.xml ibase-modify-user.xml ibase-rollback-ret.xml ibase-timefmt.xml
ibase-trans.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-997@lists.php.net to get a copy of this message
adi Thu Jan 18 12:32:34 2007 UTC Added files: /phpdoc-pl/reference/ibase/functions ibase-add-user.xml ibase-close.xml ibase-modify-user.xml ibase-rollback-ret.xml ibase-timefmt.xml ibase-trans.xml Log: [joeaccord] New files

http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ibase/functions/ibase-add-user.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ibase/functions/ibase-add-user.xml +++ phpdoc-pl/reference/ibase/functions/ibase-add-user.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.3 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <refentry id="function.ibase-add-user"> <refnamediv> <refname>ibase_add_user</refname> <refpurpose> Dodaje u¿ytkownika do bazy danych bezpieczeñstwa (tylko dla IB6 i pó¼niejszych) </refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>bool</type><methodname>ibase_add_user</methodname> <methodparam><type>resource</type><parameter>po³±czenie_do_us³ugi</parameter></methodparam> <methodparam><type>string</type><parameter>nazwa_u¿ytkownika</parameter></methodparam> <methodparam><type>string</type><parameter>has³o</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>imiê</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>drugie_imiê</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>nazwisko</parameter></methodparam> </methodsynopsis> <para> PHP 4 u¿ywa parametrów <parameter>serwer</parameter>, <parameter>login_administratora_bazy</parameter> i <parameter>has³o_administratora_bazy</parameter> zamiast <parameter>po³±czenie_do_us³ugi</parameter>. </para> &warn.undocumented.func; <para> Patrz tak¿e: <function>ibase_modify_user</function> i <function>ibase_delete_user</function>. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ibase/functions/ibase-close.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ibase/functions/ibase-close.xml +++ phpdoc-pl/reference/ibase/functions/ibase-close.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.3 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 --> <refentry id="function.ibase-close"> <refnamediv> <refname>ibase_close</refname> <refpurpose> Zamyka po³±czenie z serwerem Firebird/InterBase </refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>bool</type><methodname>ibase_close</methodname> <methodparam choice="opt"><type>resource</type><parameter>identyfikator_po³±czenia</parameter></methodparam> </methodsynopsis> <para> Zamyka po³±czenie z serwerem Firebird/InterBase skojarzone z podanym identyfikatorem po³±czenia, zwróconym przez <function>ibase_connect</function>. Je¿eli identyfikator_po³±czenia nie zosta³ podany, przyjmowane jest ostatnio otwarte po³±czenie. Domy¶lna transakcja jest potwierdzana, pozosta³e transakcje s± wycofywane. &return.success; </para> <para> Patrz tak¿e: <function>ibase_connect</function> i <function>ibase_pconnect</function>. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ibase/functions/ibase-modify-user.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ibase/functions/ibase-modify-user.xml +++ phpdoc-pl/reference/ibase/functions/ibase-modify-user.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.3 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <refentry id="function.ibase-modify-user"> <refnamediv> <refname>ibase_modify_user</refname> <refpurpose> Modyfikuje u¿ytkownika w bazie danych bezpieczeñstwa (tylko dla IB6 i pó¼niejszych) </refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>bool</type><methodname>ibase_modify_user</methodname> <methodparam><type>resource</type><parameter>po³±czenie_do_us³ugi</parameter></methodparam> <methodparam><type>string</type><parameter>nazwa_u¿ytkownika</parameter></methodparam> <methodparam><type>string</type><parameter>has³o</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>imiê</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>drugie_imiê</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>nazwisko</parameter></methodparam> </methodsynopsis> <para> PHP 4 u¿ywa parametrów <parameter>serwer</parameter>, <parameter>login_administratora_bazy</parameter> i <parameter>has³o_administratora_bazy</parameter> zamiast <parameter>po³±czenie_do_us³ugi</parameter>. </para> &warn.undocumented.func; <para> Patrz tak¿e: <function>ibase_add_user</function> i <function>ibase_delete_user</function>. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ibase/functions/ibase-rollback-ret.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ibase/functions/ibase-rollback-ret.xml +++ phpdoc-pl/reference/ibase/functions/ibase-rollback-ret.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <refentry id="function.ibase-rollback-ret"> <refnamediv> <refname>ibase_rollback_ret</refname> <refpurpose>Wycofuje transakcjê bez zamykania jej</refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>bool</type><methodname>ibase_rollback_ret</methodname> <methodparam choice="opt"><type>resource</type><parameter>identyfikator_po³±czenia lub identyfikator_transakcji</parameter></methodparam> </methodsynopsis> <para> Je¶li jest wywo³ana bez argumentu, wycofuje domy¶ln± transakcjê w domy¶lnym po³±czeniu. Je¶li argumentem jest identyfikator_po³±czenia wycofuje domy¶ln± transakcjê we wskazanym po³±czeniu. Je¶li argumentem jest identyfikator_transakcji wycofuje wskazan± transakcjê. Kontekst transakcji powinien zostaæ zachowany, natomiast wycofane segmenty zapytañ w tej transakcji nie mog± zostaæ potwierdzone. &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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ibase/functions/ibase-timefmt.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ibase/functions/ibase-timefmt.xml +++ phpdoc-pl/reference/ibase/functions/ibase-timefmt.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.6 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 --> <refentry id="function.ibase-timefmt"> <refnamediv> <refname>ibase_timefmt</refname> <refpurpose> Ustawia format typów: znacznika czasu, daty i czasu zwracanych przez zapytania </refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>int</type><methodname>ibase_timefmt</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>typ_kolumny</parameter></methodparam> </methodsynopsis> <para> Ustawia format typów: znacznika czasu, daty lub czasu zwracanych przez zapytania. Wewnêtrznie kolumny s± formatowane przez funkcjê jêzyka C strftime(), wiêc odsy³amy do jej dokumentacji - odno¶nie formatu ³añcucha. <parameter>typ_kolumny</parameter> jest jedn± ze sta³ych IBASE_TIMESTAMP, IBASE_DATE i IBASE_TIME. Je¶li jest pominiêty, domy¶lnie przyjmowana jest warto¶æ IBASE_TIMESTAMP. </para> <para> <informalexample> <programlisting role="php"> <![CDATA[ <?php /* InterBase zwróci 6 typ czasu * w formacie '05 godzin 37 minut'. */ ibase_timefmt("%H godzin %M minut", IBASE_TIME); ?> ]]> </programlisting> </informalexample> </para> <para> Mo¿esz ustawiæ domy¶lne warto¶ci dla tych formatów za pomoc± dyrektyw konfiguracyjnych PHP ibase.timestampformat, ibase.dateformat i ibase.timeformat. </para> <note> <para> Ta funkcja zosta³a usuniêta w PHP 5, zamiast niej u¿ywaj <function>ini_set</function>. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ibase/functions/ibase-trans.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ibase/functions/ibase-trans.xml +++ phpdoc-pl/reference/ibase/functions/ibase-trans.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.6 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 --> <refentry id="function.ibase-trans"> <refnamediv> <refname>ibase_trans</refname> <refpurpose>Rozpoczyna transakcjê</refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>resource</type><methodname>ibase_trans</methodname> <methodparam choice="opt"><type>int</type><parameter>flagi_transakcji</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>identyfikator_po³±czenia</parameter></methodparam> </methodsynopsis> <para> Rozpoczyna transakcjê. </para> <para> <parameter>flagi_transakcji</parameter> mog± byæ kombinacj± sta³ych: IBASE_READ, IBASE_WRITE, IBASE_COMMITTED, IBASE_CONSISTENCY, IBASE_CONCURRENCY, IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WAIT i IBASE_NOWAIT. </para> <note> <para> Zachowanie tej funkcji zosta³o zmienione w PHP 5.0.0. Pierwsze wywo³anie <function>ibase_trans</function> nie zwraca domy¶lnej transakcji w domy¶lnym po³±czeniu. Wszystkie transakcje rozpoczête w wyniku wywo³ania <function>ibase_trans</function> bêd± wycofane w momencie zakoñczenia dzia³ania skryptu je¿eli nie zostan± jawnie potwierdzone lub wycofane odpowiednio przez <function>ibase_commit</function> lub <function>ibase_rollback</function>. </para> </note> <note> <para> W PHP 5.0.0. i wersjach pó¼niejszych ta funkcja akceptuje z³o¿one argumenty <parameter>flagi_transakcji</parameter> i <parameter>identyfikator_po³±czenia</parameter>. To pozwala transakcjom na wielokrotne po³±czenia do baz danych i stosowanie algorytmu 2-fazowego potwierdzania. Tym samym mo¿esz mieæ pewno¶æ, ¿e we wszystkich bazach danych modyfikacje zakoñcz± siê sukcesem lub zakoñcz± siê pora¿k±. To NIE znaczy ¿e mo¿esz u¿ywaæ tabel z ró¿nych baz danych w jednym zapytaniu! </para> <para> Je¿eli korzystasz jednocze¶nie z wielu baz danych, powiniene¶ podawaæ oba parametry <parameter>identyfikator_po³±czenia</parameter> i <parameter>identyfikator_transakcji</parameter> przy wywo³ywaniu <function>ibase_query</function> i <function>ibase_prepare</function>. </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:"../../../../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 -->
« previous php.doc.pl (#997) next »