[PHP-DOC] cvs: phpdoc -cs bookinfo.xml language-snippets.ent preface.xml /en language-snippets.ent
luk Sat Jul 17 13:00:37 2004 EDT Modified files: /phpdoc-cs bookinfo.xml language-snippets.ent preface.xml /phpdoc/en language-snippets.ent Log: EN - CS synchronization (PHP 5 etc.) http://cvs.php.net/diff.php/phpdoc-cs/bookinfo.xml?r1=1.11r2=1.12ty=u Index: phpdoc-cs/bookinfo.xml diff -u phpdoc-cs/bookinfo.xml:1.11 phpdoc-cs/bookinfo.xml:1.12 --- phpdoc-cs/bookinfo.xml:1.11 Mon Jan 19 18:30:59 2004 +++ phpdoc-cs/bookinfo.xml Sat Jul 17 13:00:37 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.36 Maintainer: luk Status: ready -- +!-- EN-Revision: 1.39 Maintainer: luk Status: ready -- bookinfo id=bookinfo titlePHPManual;/title @@ -44,6 +44,13 @@ firstnameJouni/firstnamesurnameAhto/surname !-- email: jah%40php.net -- /author + + !-- This is not too nice, but works -- + collab +collabname + link linkend=contributors...a mnoho dal¹ích/link +/collabname + /collab /authorgroup @@ -59,14 +66,7 @@ /authorgroup copyright - year1997/year - year1998/year - year1999/year - year2000/year - year2001/year - year2002/year - year2003/year - year2004/year + year1997-2004/year holderthe PHP Documentation Group/holder /copyright @@ -88,9 +88,12 @@ kni¾ní formì bez pøedchozího souhlasu vlastníkù autorských práv je zakázána. /simpara simpara -Èlenové skupiny PHP Documentation Group jsou vypsáni na titulní stranì -tohoto manuálu. Chcete-li skupinu kontaktovat, pi¹te prosím na adresu -ulink url=mailto:email.php.doc;;email.php.doc;/ulink. +Zajímáte-li se o redistribuci nebo republikaci tohoto dokumentu, +celého nebo jeho èásti, zmìnìného èi nezmìnìného, a máte nìjaké otázky, +kontaktuje prosím dr¾itele autorských práv na +ulink url=mailto:email.php.doc.license;;email.php.doc.license;/ulink. +Nezapomeòte, ¾e je tato adresa namapována na veøejnì archivovanou +konferenci. /simpara simpara Sekce tohoto manuálu Roz¹íøení PHP 4.0 je copy; 2000 Zend Technologies, @@ -98,11 +101,7 @@ specifikovaných v Open Publication License v1.0 nebo pozdìj¹í (nejnovìj¹í verze je v souèasnosti k dispozici na ulink url=url.opl;url.opl;/ulink). - /simpara - para -Kopie link linkend=opl.licenseOpen Publication License/link -je ¹íøena s tímto manuálem. - /para + /simpara /legalnotice /bookinfo http://cvs.php.net/diff.php/phpdoc-cs/language-snippets.ent?r1=1.22r2=1.23ty=u Index: phpdoc-cs/language-snippets.ent diff -u phpdoc-cs/language-snippets.ent:1.22 phpdoc-cs/language-snippets.ent:1.23 --- phpdoc-cs/language-snippets.ent:1.22Wed Feb 25 15:24:59 2004 +++ phpdoc-cs/language-snippets.ent Sat Jul 17 13:00:37 2004 @@ -1,5 +1,93 @@ ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.78 Maintainer: luk Status: ready -- +!-- EN-Revision: 1.104 Maintainer: luk Status: ready -- + +!-- Udr¾ujte seøazené -- + + +!-- Poznámky -- + +!ENTITY note.bin-safe 'notesimparaTato funkce je binárnì +bezpeèná./simpara/note' + +!ENTITY note.clearstatcache 'notesimparaVýsledky této funkce +jsou cachovány. Viz funkci functionclearstatcache/function pro +více detailù./simpara/note' + +!ENTITY note.context-support 'notesimparaKontextová podpora byla +pøidána v PHP 5.0.0./simpara/note' + +!ENTITY note.exec-bg 'noteparaChcete-li spustit program za pou¾ití této +funkce a nechat ho bì¾et na pozadí, musíte zajistit, aby byl výstup programu +pøesmìrován do souboru nebo jiného výstupního streamu, jinak PHP zatuhne, +dokud program neskonèí./para/note' + +!ENTITY note.func-callback 'notesimparaMísto názvu funkce mù¾e být pou¾ito +pole obsahující odkaz na objekt a název metody./simpara/note' + +!ENTITY note.line-endings 'notesimparaMáte-li problémy s tím, +¾e literalPHP/literal nerozpoznává konce øádkù pøi ètení souborù +pocházejících z poèítaèù Macintosh, budete muset zapnout konfiguraèní parametr +link linkend=ini.auto-detect-line-endingsauto_detect_line_endings/link./simpara +/note' + +!ENTITY note.no-remote 'notesimparaTato funkce nebude pracovat se +link linkend=features.remote-filesvzdálenými soubory/link, proto¾e +zkoumaný soubor musí být dostupný pøes filesystém serveru./simpara/note' + +!ENTITY note.not-bin-safe 'warningsimparaTato funkce není (je¹tì) binárnì +bezpeèná!/simpara/warning' + +!ENTITY note.no-windows 'notesimparaTato funkce není implementována na +platformách Windows./simpara/note' + +!ENTITY note.no-windows.extension 'notesimparaToto roz¹íøení není k dispozici +na platformách Windows./simpara/note' + +!ENTITY note.randomseed 'notesimparaOd PHP 4.2.0 není tøeba +inicializovat generátor náhodných èísel funkcí functionsrand/function nebo +functionmt_srand/function, proto¾e se tak nyní stane automaticky. +/simpara/note' + +!ENTITY note.registerglobals 'notetitledùle¾itá poznámka +k register_globals/titleparaOd PHP 4.2.0 je výchozí hodnota PHP direktivy +link
[PHP-DOC] Function reference ordering
There is a problem with function reference chapters translated into other languages than English: Originally, the function reference is ordered alphabetically by chapter names. But if these chapters have been translated into another language, this ordering semantically persists. It means it doesn't order by translated names. Thus it's very difficult to find the requested function set. Why it doesn't order by translated chapter names? Thanks Lukas -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc-cs /reference/bzip2 reference.xml /reference/bzip2/functions bzclose.xml
luk Fri Jun 21 17:42:31 2002 EDT Added files: /phpdoc-cs/reference/bzip2 reference.xml /phpdoc-cs/reference/bzip2/functionsbzclose.xml Log: Index: phpdoc-cs/reference/bzip2/reference.xml +++ phpdoc-cs/reference/bzip2/reference.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.3 Maintainer: luk Status: ready -- reference id=ref.bzip2 titleKompresní funkce bzip2/title titleabbrevBzip2/titleabbrev partintro section id=bzip2.intro reftitle.intro; para Funkce bzip2 se pou¾ívají k transparentnímu ètení a zápisu souborù komprimovaných algoritmem bzip2 (.bz2). /para /section section id=bzip2.requirements reftitle.required; para Tento modul pou¾ívá funkce z knihovny ulink url=url.bzip2;bzip2/ulink od Juliana Sewarda. /para /section section id=bzip2.installation reftitle.install; para Podpora bzip2 není v PHP implicitnì k dispozici. K aktivaci budete muset pøi kompilaci PHP pou¾ít konfiguraèní volbu link linkend=install.configure.with-bz2--with-bz2/link. Tento modul vy¾aduje bzip2/libbzip2 verze gt;= 1.0.x. /para /section section id=bzip2.configuration reftitle.runtime; no.config; /section section id=bzip2.resources reftitle.resources; para Toto roz¹íøení definuje jeden typ prostøedku: souborový ukazatel identifikující soubor bz2, nad kterým se pracuje. /para /section section id=bzip2.constants reftitle.constants; no.constants; /section section id=bzip2.examples reftitle.examples; para Tento pøíklad otevøe doèasný soubor a zapí¹e do nìj testovací øetezec; potom vypí¹e obsah souboru. /para example titleMalý pøíklad na bzip2/title programlisting role=php ![CDATA[ ?php $filename = /tmp/testfile.bz2; $str = Toto je testovací øetìzec.\n; // otevøi soubor pro zápis $bz = bzopen($filename, w); // zapo¹ øetìzec do souboru bzwrite($bz, $str); // zavøi soubor bzclose($bz); // otevøi soubor pro ètení $bz = bzopen($filename, r); // pøeèti 10 znakù print bzread($bz, 10); // tiskni dokud není konec souboru (nebo následující 1024. znak) a zavøi soubor print bzread($bz); bzclose($bz); ? ]] /programlisting /example /section /partintro reference.bzip2.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:../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -- Index: phpdoc-cs/reference/bzip2/functions/bzclose.xml +++ phpdoc-cs/reference/bzip2/functions/bzclose.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- refentry id=function.bzclose refnamediv refnamebzclose/refname refpurposeZavøe ukazatel na soubor bzip2/refpurpose /refnamediv refsect1 titlePopis/title methodsynopsis typeint/typemethodnamebzclose/methodname methodparamtyperesource/typeparameterbz/parameter/methodparam /methodsynopsis para Zavøe soubor bzip2 odkazovaný ukazatelem parameterbz/parameter. /para para return.success; /para para Ukazatel na soubor musí být platný a musí ukazovat na soubor úspì¹nì otevøený pomocí functionbzopen/function. /para para Viz také functionbzopen/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: --
[PHP-DOC] cvs: phpdoc-cs /reference/network/functions socket-set-blocking.xml socket-set-timeout.xml syslog.xml
luk Thu Jun 20 17:19:12 2002 EDT Added files: /phpdoc-cs/reference/network/functions socket-set-blocking.xml socket-set-timeout.xml syslog.xml Log: Index: phpdoc-cs/reference/network/functions/socket-set-blocking.xml +++ phpdoc-cs/reference/network/functions/socket-set-blocking.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- refentry id=function.socket-set-blocking refnamediv refnamesocket_set_blocking/refname refpurposeNastavuje blokující/neblokující re¾im socketu/refpurpose /refnamediv refsect1 titlePopis/title methodsynopsis typeint/typemethodnamesocket_set_blocking/methodname methodparamtypeint/typeparametersocket descriptor/parameter/methodparam methodparamtypeint/typeparametermode/parameter/methodparam /methodsynopsis para Pokud má parametermode/parameter hodnotu false;, pøíslu¹ný deskriptor socketu se pøepne do neblokujícího re¾imu; je-li true;, pøepne se do blokujícího re¾imu. To má vliv na volání jako je functionfgets/function, která ètou ze socketu. V neblokujícím re¾imu volání funkce functionfgets/function v¾dy pøedává øízení zpìt, zatímco v blokujícím re¾imu bude èekat na to, a¾ budou na socketu dostupná data. /para para Tato funkce se døíve jmenovala functionset_socket_blocking/function, ale tento název je nyní zavr¾ený. /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: -- Index: phpdoc-cs/reference/network/functions/socket-set-timeout.xml +++ phpdoc-cs/reference/network/functions/socket-set-timeout.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- refentry id=function.socket-set-timeout refnamediv refnamesocket_set_timeout/refname refpurposeNastaví èasový limit (timeout) socketu/refpurpose /refnamediv refsect1 titlePopis/title methodsynopsis typebool/typemethodnamesocket_set_timeout/methodname methodparamtypeint/typeparametersocket descriptor/parameter/methodparam methodparamtypeint/typeparameterseconds/parameter/methodparam methodparamtypeint/typeparametermicroseconds/parameter/methodparam /methodsynopsis para Nastavuje velikost èasového limitu socketu daného hodnotou parametersocket descriptor/parameter, ve formì souètu sekund (parameterseconds/parameter) a mikrosekund (parametermicroseconds/parameter). example titlefunctionsocket_set_timeout/function Pøíklad/title programlisting role=php ![CDATA[ ?php $fp = fsockopen(www.example.com, 80); if(!$fp) { echo Nelze otevøít\n; } else { fputs($fp,GET / HTTP/1.0\n\n); $start = time(); socket_set_timeout($fp, 2); $res = fread($fp, 2000); var_dump(socket_get_status($fp)); fclose($fp); print $res; } ? ]] /programlisting /example /para para Tato funkce se døíve jmenovala functionset_socket_timeout/function, ale tento název je nyní zavr¾ený. /para para Viz také: functionfsockopen/function a functionfopen/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: -- Index: phpdoc-cs/reference/network/functions/syslog.xml +++ phpdoc-cs/reference/network/functions/syslog.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- refentry id=function.syslog refnamediv refnamesyslog/refname refpurposeVygeneruje zprávu do systémového protokolu/refpurpose /refnamediv refsect1 titlePopis/title methodsynopsis typeint/typemethodnamesyslog/methodname methodparamtypeint/typeparameterpriority/parameter/methodparam methodparamtypestring/typeparametermessage/parameter/methodparam /methodsynopsis para functionsyslog/function vygeneruje zprávu do protokolu, která se distribuuje prostøednictvím démona systémového protokolu. parameterpriority/parameter pøedstavuje kombinaci charakteru a úrovnì zprávy; hodnoty popisuje následující sekce. Zbývající argument je zpráva, která se má odeslat. Dva znaky ve zprávì
[PHP-DOC] cvs: phpdoc-cs /reference/network reference.xml /reference/network/functions checkdnsrr.xml closelog.xml debugger-off.xml debugger-on.xml define-syslog-variables.xml fsockopen.xml
luk Thu Jun 13 18:40:52 2002 EDT Added files: /phpdoc-cs/reference/networkreference.xml /phpdoc-cs/reference/network/functions checkdnsrr.xml closelog.xml debugger-off.xml debugger-on.xml define-syslog-variables.xml fsockopen.xml Log: Index: phpdoc-cs/reference/network/reference.xml +++ phpdoc-cs/reference/network/reference.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- reference id=ref.network titleSí»ové funkce/title titleabbrevSí»/titleabbrev reference.network.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:../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -- Index: phpdoc-cs/reference/network/functions/checkdnsrr.xml +++ phpdoc-cs/reference/network/functions/checkdnsrr.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- refentry id=function.checkdnsrr refnamediv refnamecheckdnsrr/refname refpurpose Ovìøí DNS záznamy odpovídající danému názvu poèítaèe na Internetu nebo jeho IP adrese. /refpurpose /refnamediv refsect1 titlePopis/title methodsynopsis typeint/typemethodnamecheckdnsrr/methodname methodparamtypestring/typeparameterhost/parameter/methodparam methodparam choice=opttypestring/typeparametertype/parameter/methodparam /methodsynopsis simpara Prohledá DNS na záznamy typu parametertype/parameter, odpovídající názvu parameterhost/parameter. Vrací true;, pokud najde nìjaké záznamy a false;, pokud nic nenajde nebo nastane chyba. /simpara simpara parametertype/parameter mù¾e být jeden z tìchto: A, MX, NS, SOA, PTR, CNAME, or ANY. Implicitní je MX. /simpara simpara parameterHost/parameter mù¾e být jak IP adresa (v teèkové notaci), tak název stroje. /simpara note.no-windows; simpara Viz také functiongetmxrr/function, functiongethostbyaddr/function, functiongethostbyname/function, functiongethostbynamel/function, a manuálovou stránku named(8). /simpara /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: -- Index: phpdoc-cs/reference/network/functions/closelog.xml +++ phpdoc-cs/reference/network/functions/closelog.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- refentry id=function.closelog refnamediv refnamecloselog/refname refpurposeZavøe spojení do systémového protokolu/refpurpose /refnamediv refsect1 titlePopis/title methodsynopsis typeint/typemethodnamecloselog/methodname void/ /methodsynopsis para functioncloselog/function zavøe deskriptor pou¾itý k zápisu do systémového protokolu. Pou¾ití functioncloselog/function je nepovinné. /para para Viz také functiondefine_syslog_variables/function, functionsyslog/function a functionopenlog/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: -- Index: phpdoc-cs/reference/network/functions/debugger-off.xml +++ phpdoc-cs/reference/network/functions/debugger-off.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.2 Maintainer: luk Status: ready -- refentry id=function.debugger-off refnamediv refnamedebugger_off/refname refpurposeVypne vnitøní PHP debugger/refpurpose /refnamediv refsect1 titlePopis/title methodsynopsis typeint/typemethodnamedebugger_off/methodname void/ /methodsynopsis para Vypne vnitøní PHP debugger. Na debuggeru stále probíhá vývoj. /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
[PHP-DOC] cvs: phpdoc-cs /language control-structures.xml
luk Thu May 23 17:07:57 2002 EDT Modified files: /phpdoc-cs/language control-structures.xml Log: Index: phpdoc-cs/language/control-structures.xml diff -u phpdoc-cs/language/control-structures.xml:1.6 phpdoc-cs/language/control-structures.xml:1.7 --- phpdoc-cs/language/control-structures.xml:1.6 Thu May 9 17:15:33 2002 +++ phpdoc-cs/language/control-structures.xml Thu May 23 17:07:57 2002 -1014,73 +1014,75 /example /para simpara -Více pøíkladù -- viz dokumentace functioninclude/function. +Dal¹í pøíklady -- viz dokumentace functioninclude/function. /simpara note simpara - Prior to PHP 4.0.2, the following applies: functionrequire/function will - always attempt to read the target file, even if the line it's on never executes. - The conditional statement won't affect functionrequire/function. However, - if the line on which the functionrequire/function occurs is not executed, - neither will any of the code in the target file be executed. Similarly, looping - structures do not affect the behaviour of functionrequire/function. Although - the code contained in the target file is still subject to the loop, the - functionrequire/function itself happens only once. + U verzí pøed PHP 4.0.2 platí toto: functionrequire/function se v¾dy + pokusí pøeèíst pøíslu¹ný soubor, kromì pøípadu, ¾e se øádek s tímto + pøíkazem nemù¾e nikdy provést. Podmínìný výraz + functionrequire/function neovlivòuje. Av¹ak pokud se øádek, na kterém + functionrequire/function le¾í, vùbec neprovádí, nebude se provádìt + ani kód v pøíslu¹ném souboru. Podobnì je tomu i v pøípadì cyklù -- ani + ty neovlivòují chování functionrequire/function. Pøesto¾e kód + obsa¾ený ve vkládaném souboru je stále pøedmìtem opakování, samotné + functionrequire/function se provede pouze jednou. /simpara /note simpara -See also functioninclude/function, functionrequire_once/function, +Viz také functioninclude/function, functionrequire_once/function, functioninclude_once/function, functioneval/function, functionfile/function, functionreadfile/function, -functionvirtual/function and link linkend=ini.include-pathinclude_path/link. +functionvirtual/function a link +linkend=ini.include-pathinclude_path/link. /simpara /sect1 sect1 id=function.include titlefunctioninclude/function/title simpara -The functioninclude/function statement includes and evaluates -the specified file. +Konstrukt functioninclude/function vlo¾í a ohodnotí specifikovaný +soubor. /simpara simpara - The documentation below also applies to functionrequire/function. - The two constructs are identical in every way except how they handle - failure. functioninclude/function produces a - link linkend=internal.e-warningWarning/link while functionrequire/function - results in a link linkend=internal.e-errorFatal Error/link. - In other words, use functionrequire/function if you want - a missing file to halt processing of the page. functioninclude/function does - not behave this way, the script will continue regardless. Be sure to have an - appropriate link linkend=ini.include-pathinclude_path/link setting as well. + Ní¾e popsané platí i pro functionrequire/function. Tyto dva konstrukty + jsou zcela toto¾né, kromì toho, jak zpracovávají chyby. + functioninclude/function produkuje + link linkend=internal.e-warningWarning/link (varování), zatímco + functionrequire/function skonèí s chybou typu + link linkend=internal.e-errorFatal Error/link. + Jinými slovy, functionrequire/function pou¾ijte tehdy, chcete-li, + aby se pøi chybìjícím souboru zastavilo zpracovávání. + functioninclude/function se tak nechová, skript bude neru¹enì + pokraèovat. Ujistìte se také, ¾e máte v poøádku nastavení + link linkend=ini.include-pathinclude_path/link. /simpara simpara - When a file is included, the code it contains inherits the - link linkend=language.variables.scopevariable scope/link of the - line on which the include occurs. Any variables available at that line - in the calling file will be available within the called file, from that - point forward. + Pokud se vlo¾í soubor, potom kód v nìm obsa¾ený dìdí + link linkend=language.variables.scopekontext promìnné/link + øádku, kde byl vlo¾en. V¹echny promìnné dostupné na tomto øádku + volajícího souboru budou (od této chvíle) dostupné i ve volaném souboru. /simpara para example - titleBasic functioninclude/function example/title + titleZákladní pøíklad -- functioninclude/function/title programlisting role=php ![CDATA[ vars.php ?php -$color = 'green'; -$fruit = 'apple'; +$color = 'zelené'; +$fruit = 'jablko'; ? test.php ?php -echo A $color $fruit; // A +echo
[PHP-DOC] Line terminators - why CRLF?
Why do the files in the new CVS structure contain CRLF as the line terminator (instead of LF only)? This doesn't comply to translators' directions. Can someone explain it? Thanks. Regards Lukas Jelinek
[PHP-DOC] cvs: phpdoc-cs /language control-structures.xml
luk Thu May 9 17:15:33 2002 EDT Modified files: /phpdoc-cs/language control-structures.xml Log: Index: phpdoc-cs/language/control-structures.xml diff -u phpdoc-cs/language/control-structures.xml:1.5 phpdoc-cs/language/control-structures.xml:1.6 --- phpdoc-cs/language/control-structures.xml:1.5 Fri Apr 26 16:35:27 2002 +++ phpdoc-cs/language/control-structures.xml Thu May 9 17:15:33 2002 -938,39 +938,34 sect1 id=function.return titlereturn/title simpara -If called from within a function, the functionreturn/function -statement immediately ends execution of the current function, and -returns its argument as the value of the function -call. functionreturn/function will also end the execution of -an functioneval/function statement or script file. +Zavolán uvnitø funkce, konstrukt functionreturn/function okam¾itì +ukonèí provádìní této funkce a vrací svùj argument jako hodnotu volání +funkce. functionreturn/function také obdobnì ukonèí provádìní +konstruktu functioneval/function nebo celého skriptu. /simpara simpara -If called from the global scope, then execution of the current -script file is ended. If the current script file was -functioninclude/functioned or functionrequire/functioned, -then control is passed back to the calling file. Furthermore, if -the current script file was functioninclude/functioned, then -the value given to functionreturn/function will be returned as -the value of the functioninclude/function call. If -functionreturn/function is called from within the main script -file, then script execution ends. If the current script file was -named by the link -linkend=ini.auto-prepend-fileauto_prepend_file/link or link -linkend=ini.auto-append-fileauto_append_file/link -configuration options in link linkend=configuration.filethe -configuration file/link, then that script file's execution is -ended. +Pokud se volá z globálního kontextu, provádìní skriptu se ukonèí. Byl-li +aktuální skript vlo¾en pomocí functioninclude/function nebo +functionrequire/function, pøedá se øízení volajícímu souboru. Navíc, +bylo-li pou¾ito functioninclude/function, bude hodnota specifikovaná +v functionreturn/function vrácena jako hodnota volání +functioninclude/function. Pokud se functionreturn/function +zavolá z hlavního souboru skriptu, provádìní skonèí. Kdy¾ se jedná o +soubor specifikovaný pomocí konfiguraèních voleb +link linkend=ini.auto-prepend-fileauto_prepend_file/link nebo +link linkend=ini.auto-append-fileauto_append_file/link +v link linkend=configuration.filekonfiguraèním souboru/link, +zpracování souboru konèí. /simpara - simparaFor more information, see link - linkend=functions.returning-valuesReturning values/link. + simparaVíce informací - viz + link linkend=functions.returning-valuesNávratové hodnoty/link. /simpara note simpara - Note that since functionreturn/function is a language - construct and not a function, the parentheses surrounding its - arguments are emphasisnot/emphasis required--in fact, it is - more common to leave them out than to use them, although it - doesn't matter one way or the other. + Uvìdomte si, ¾e functionreturn/function je jazykový konstrukt, a + nikoli funkce -- uzavøení argumentù do závorek emphasisnení/emphasis + nutné. Obvykle se vynechávají, ale nezále¾í na tom, zda se pou¾ijí èi + nikoli. /simpara /note /sect1 -980,29 +975,29 titlefunctionrequire/function/title simpara -The functionrequire/function statement includes and evaluates -the specific file. +Konstrukt functionrequire/function vlo¾í a ohodnotí specifikovaný +soubor. /simpara simpara - functionrequire/function includes and evaluates a specific file. - Detailed information on how this inclusion works is described in the - documentation for functioninclude/function. + functionrequire/function vlo¾í a ohodnotí specifikovaný soubor. + Podrobné informace o tom, jak vkládání pracuje, jsou popsány v + dokumentaci o functioninclude/function. /simpara simpara - functionrequire/function and functioninclude/function - are identical in every way except how they handle failure. - functioninclude/function produces a - link linkend=internal.e-warningWarning/link while - functionrequire/function results in a link linkend=internal.e-error - Fatal Error/link. In other words, don't hesitate to use - functionrequire/function if you want a missing file to halt processing - of the page. functioninclude/function does not behave this way, the - script will continue regardless. Be sure to have an appropriate - link linkend=ini.include-pathinclude_path/link setting as well. + functionrequire/function a
[PHP-DOC] cvs: phpdoc /cs/language control-structures.xml variables.xml
luk Fri Apr 26 16:35:28 2002 EDT Added files: /phpdoc/cs/language variables.xml Modified files: /phpdoc/cs/language control-structures.xml Log: Index: phpdoc/cs/language/control-structures.xml diff -u phpdoc/cs/language/control-structures.xml:1.4 phpdoc/cs/language/control-structures.xml:1.5 --- phpdoc/cs/language/control-structures.xml:1.4 Thu Apr 25 17:58:13 2002 +++ phpdoc/cs/language/control-structures.xml Fri Apr 26 16:35:27 2002 -854,27 +854,25 link linkend=control-structures.declare.ticksticks/link) /para para -The literalstatement/literal part of the -literaldeclare/literal block will be executed - how -it is executed and what side-effects occur during execution -may depend on the directive set in the -literaldirective/literal block. +Èást literalstatement/literal bloku literaldeclare/literal +bude provedena - jak bude provedena a jaké vedlej¹í efekty nastanou +bìhem provádìní mù¾e zále¾et na direktivì nastavené v bloku +literaldirective/literal. /para sect2 id=control-structures.declare.ticks titleTicks/title -paraA tick is an event that occurs for every -replaceableN/replaceable low-level statements executed -by the parser within the literaldeclare/literal block. -The value for replaceableN/replaceable is specified -using literalticks=replaceableN/replaceable/literal -within the literaldeclare/literal blocks's -literaldirective/literal section. +paraTick je událost, která nastane pro ka¾dých +replaceableN/replaceable nízkoúrovòových konstruktù provedených +parserem uvnitø bloku literaldeclare/literal. Hodnota +replaceableN/replaceable je specifikována pomocí +literalticks=replaceableN/replaceable/literal uvnitø sekce +literaldirective/literal bloku literaldeclare/literal. /para para -The event(s) that occurs on each tick is specified using the -functionregister_tick_function/function. See the example -below for more details. Note that more than one event can occur -for each tick. +Událost(i), která nastane pøi ka¾dém ticku, se specifikuje pomocí +functionregister_tick_function/function. Více podrobností - viz +pøíklad ní¾e. Uvìdomte si, ¾e na ka¾dý tick mù¾e nastat více ne¾ jedna +událost. /para para example Index: phpdoc/cs/language/variables.xml +++ phpdoc/cs/language/variables.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.45 Maintainer: luk Status: mixed -- chapter id=language.variables titlePromìnné/title sect1 id=language.variables.basics titleZáklady/title simpara Promìnné jsou v PHP reprezentovány znakem dolaru, následovaným názvem pøíslu¹né promìnné. V názvech promìnných se rozli¹uje velikost písmen. /simpara para Názvy promìnných jsou podøízeny stejným pravidlùm jako jiná návì¹tí v PHP. Platný název promìnné zaèíná písmenem nebo podtr¾ítkem, následovaným libovolným poètem písmen, èíslic nebo potr¾ítek. Jako regulární výraz to lze zapsat takto: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' /para note simpara Pro na¹e úèely zde budeme za písmena pova¾ovat znaky a-z, A-Z a ASCII znaky od 127 do 255 (0x7f-0xff). /simpara /note para informalexample programlisting role=php ![CDATA[ $var = Bob; $Var = Joe; echo $var, $Var; // vypí¹e Bob, Joe $4site = 'not yet'; // neplatné; zaèíná èíslicí $_4site = 'not yet';// platné; zaèíná podtr¾ítkem $täyte = 'mansikka';// platné; 'ä' je ASCII 228. ]] /programlisting /informalexample /para para V PHP 3 mají promìnné v¾dy pøiøazenu hodnotu. To znamená, ¾e kdy¾ pøiøadíte výraz do promìnné, celá hodnota pùvodního výrazu se zkopíruje do cílové promìnné. Tedy, napøíklad, po pøiøazení hodnoty jedné promìnné do druhé, zmìna jedné z nich se na druhé neprojeví. Více informací o tomto zpùsobu pøiøazení viz link linkend=language.expressionsVýrazy/link. /para para PHP nabízí jiný zpùsob pøiøazení hodnot promìnným: emphasispøiøazení odkazu/emphasis. To znamená, ¾e nová promìnná jednodu¹e odkazuje (jinými slovy, stává se aliasem nebo ukazuje na) na pùvodní promìnnou. Zmìny na nové promìnné se projeví na té pùvodní a naopak. To také znamená, ¾e se nic nekopíruje; proto je pøiøazení rychlej¹í. Av¹ak toto zrychlení bude zjistitelné pouze v tìsných cyklech nebo pøi pøiøazování velkých polí èi objektù. /para para Pro pøiøazení odkazu staèí jednodu¹e pøed promìnnou, která bude pøiøazována (zdrojová promìnná), pøedøadit ampersand (amp;). Napøíklad následující kus kódu vypí¹e dvakrát 'Jmenuji se Bob': informalexample programlisting role=php ![CDATA[ ?php $foo = 'Bob'; // Pøiøadí hodnotu 'Bob' do $foo $bar = $foo; // Odkaz $foo pøes $bar. $bar = Jmenuji se $bar; // Zmìna $bar...
[PHP-DOC] cvs: phpdoc /cs language-defs.ent language-snippets.ent translation.xml /cs/language control-structures.xml operators.xml
luk Thu Apr 25 17:58:14 2002 EDT Modified files: /phpdoc/cs language-defs.ent language-snippets.ent translation.xml /phpdoc/cs/language control-structures.xml operators.xml Log: Synced to the English version. Index: phpdoc/cs/language-defs.ent diff -u phpdoc/cs/language-defs.ent:1.7 phpdoc/cs/language-defs.ent:1.8 --- phpdoc/cs/language-defs.ent:1.7 Thu Mar 7 18:25:02 2002 +++ phpdoc/cs/language-defs.ent Thu Apr 25 17:58:12 2002 -1,5 +1,5 ?xml encoding=iso-8859-2? -!-- EN-Revision: 1.11 Maintainer: luk Status: ready -- +!-- EN-Revision: 1.12 Maintainer: luk Status: ready -- !ENTITY PHPManual Manuál PHP !ENTITY Date Datum: -9,8 +9,9 !ENTITY Features Vlastnosti !ENTITY FunctionReference Reference funkcí !ENTITY AppendixesDodatky -!ENTITY PEAR PEAR: the PHP Extension and Application Repository -!ENTITY FAQ FAQ: Frequently Asked Questions +!ENTITY PEAR PEAR: Repozitáø roz¹íøení a aplikací PHP +!ENTITY FAQ FAQ: Èasto zodpovídané otázky !ENTITY FAQabbrev FAQ -!ENTITY FunctionIndex Function Index -!ENTITY CHMEditionHTML Help Edition +!ENTITY FunctionIndex Rejstøík funkcí +!ENTITY CHMEditionVydání HTML Help +!ENTITY ReservedConstants Pøeddefinované konstanty Index: phpdoc/cs/language-snippets.ent diff -u phpdoc/cs/language-snippets.ent:1.12 phpdoc/cs/language-snippets.ent:1.13 --- phpdoc/cs/language-snippets.ent:1.12Sun Apr 14 15:35:23 2002 +++ phpdoc/cs/language-snippets.ent Thu Apr 25 17:58:12 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.22 Maintainer: luk Status: ready -- +!-- EN-Revision: 1.25 Maintainer: luk Status: ready -- !ENTITY warn.experimental 'warningsimparaTento modul je emphasisEXPERIMENTÁLNÍ/emphasis. To znamená, ¾e chování tìchto funkcí a -36,6 +36,7 link linkend=language.operators.comparisonoperátor ===/link./simpara/warning' +!-- Various notes -- !ENTITY note.not-bin-safe 'warningsimparaTato funkce není (je¹tì) binárnì bezpeèná!/simpara/warning' -83,3 +84,26 !ENTITY no.constants 'paraToto roz¹íøení nemá definovány ¾ádné konstanty./para' +!-- Common pieces in partintro-sections -- +!ENTITY no.requirement 'paraTyto funkce jsou k dispozici jako souèást +standardního modulu, který je v¾dy dostupný./para' +!ENTITY no.install 'paraK pou¾ívání tìchto funkcí není tøeba ¾ádná +instalace, jsou souèástí jádra PHP./para' + +!-- Used in reference/$extname/constants.xml -- +!ENTITY extension.constants 'simpara +Tyto konstanty jsou definovány tímto roz¹íøením a budou k dispozici pouze +tehdy, bylo-li roz¹íøení zkompilováno spoleènì s PHP nebo dynamicky zavedeno +za bìhu. +/simpara' + +!-- These are using in reference/$extname/reference.xml and other +supplemental files to mark section titles -- +!ENTITY reftitle.intro 'titleÚvod/title' +!ENTITY reftitle.required 'titlePo¾adavky/title' +!ENTITY reftitle.install 'titleInstalace/title' +!ENTITY reftitle.runtime 'titleKonfigurace bìhu/title' +!ENTITY reftitle.resources 'titleTypy prostøedkù/title' +!ENTITY reftitle.constants 'titlePøeddefinované konstanty/title' +!ENTITY reftitle.examples 'titlePøíklady/title' +!ENTITY reftitle.seealso 'titleViz také/title' Index: phpdoc/cs/translation.xml diff -u phpdoc/cs/translation.xml:1.5 phpdoc/cs/translation.xml:1.6 --- phpdoc/cs/translation.xml:1.5 Mon Mar 25 18:07:15 2002 +++ phpdoc/cs/translation.xml Thu Apr 25 17:58:12 2002 -17,9 +17,7 file name=appendices/phpdevel.xml person=luk type=translation / file name=appendices/predefined.xml person=luk type=translation / file name=appendices/resources.xmlperson=luk type=translation / - file name=functions/mysql.xml person=costra type=translation / file name=language/control-structures.xml person=luk type=translation / - file name=language/operators.xml person=luk type=translation / file name=language/oop.xmlperson=luk type=translation / file name=language/types.xml person=luk type=translation / file name=language/variables.xml person=luk type=translation / Index: phpdoc/cs/language/control-structures.xml diff -u phpdoc/cs/language/control-structures.xml:1.3 phpdoc/cs/language/control-structures.xml:1.4 --- phpdoc/cs/language/control-structures.xml:1.3 Thu Apr 4 14:55:40 2002 +++ phpdoc/cs/language/control-structures.xml Thu Apr 25 17:58:13 2002 -638,21 +638,19 sect1 id=control-structures.continue titleliteralcontinue/literal/title simpara -literalcontinue/literal is used within looping structures to -skip the rest of the current loop iteration and continue execution -at the beginning of the next iteration. +literalcontinue/literal se pou¾ívá uvnitø cyklù k pøeskoèení zbytku +aktuální iterace a
[PHP-DOC] cvs: phpdoc /cs/language operators.xml
luk Wed Apr 24 14:42:36 2002 EDT Modified files: /phpdoc/cs/language operators.xml Log: Index: phpdoc/cs/language/operators.xml diff -u phpdoc/cs/language/operators.xml:1.3 phpdoc/cs/language/operators.xml:1.4 --- phpdoc/cs/language/operators.xml:1.3Thu Apr 18 16:28:57 2002 +++ phpdoc/cs/language/operators.xmlWed Apr 24 14:42:34 2002 -309,38 +309,35 /para note simpara - The -operator works only on expressions. A simple rule of thumb - is: if you can take the value of something, you can prepend the - operator to it. For instance, you can prepend it to variables, - function and functioninclude/function calls, constants, and - so forth. You cannot prepend it to function or class definitions, - or conditional structures such as literalif/literal and - literalforeach/literal, and so forth. + Operátor pracuje pouze na výrazech. Platí jednoduché pravidlo: + mù¾ete-li získat hodnotu nìèeho, mù¾ete pøed to dát operátor . + To se týká napøíklad promìnných, funkcí, volání + functioninclude/function konstant a podobnì. Nemù¾ete ho pøedøadit + definicím funkcí nebo tøíd a podmínkovým strukturám typu + literalif/literal nebo literalforeach/literal. /simpara /note simpara -See also functionerror_reporting/function. +Viz také functionerror_reporting/function. /simpara warning para - Currently the error-control operator prefix will even disable - error reporting for critical errors that will terminate script - execution. Among other things, this means that if you use to - suppress errors from a certain function and either it isn't - available or has been mistyped, the script will die right there - with no indication as to why. + V souèasnosti pøedøazení operátoru øízení chyb vyøadí i hlá¹ení + kritických chyb, které zpùsobí ukonèení provádìní skriptu. To mj. + znamená, ¾e pokud pou¾ijete k potlaèení chyb z nìjaké funkce, + a tato funkce není k dispozici nebo obsahuje chyby, skript zde skonèí + bez jakékoli indikace, co se stalo. /para /warning /sect1 sect1 id=language.operators.execution - titleExecution Operators/title + titleProvádìcí operátory/title para -PHP supports one execution operator: backticks (``). Note that -these are not single-quotes! PHP will attempt to execute the -contents of the backticks as a shell command; the output will be -returned (i.e., it won't simply be dumped to output; it can be -assigned to a variable). +PHP podporuje jeden provádìcí operátor: obrácené apostrofy (``). +Uvìdomte si, ¾e to nejsou obyèejné apostrofy! PHP se pokusí provést +obsah uzavøený mezi tìmito znaky jako pøíkaz shellu; výstup je vrácen +(tzn. nebude pouze vypsán na výstupù mù¾e být pøiøazen promìnné). informalexample programlisting role=php ![CDATA[ -352,83 +349,83 /para note para - The backtick operator is disabled when link - linkend=ini.safe-modesafe mode/link is enabled - or functionshell_exec/function is disabled. + Operátor mù¾e být vyøazen, pokud je aktivní + link linkend=ini.safe-modebezpeèný re¾im/link nebo je vypnuto + functionshell_exec/function. /para /note para -See also functionescapeshellcmd/function, functionexec/function, +Viz také functionescapeshellcmd/function, functionexec/function, functionpassthru/function, functionpopen/function, -functionshell_exec/function, and functionsystem/function. +functionshell_exec/function, a functionsystem/function. /para /sect1 sect1 id=language.operators.increment - titleIncrementing/Decrementing Operators/title + titleInkrementaèní/Dekrementaèní operátory/title para -PHP supports C-style pre- and post-increment and decrement -operators. +PHP podporuje pre- a post inkrementaèní a dekrementaèní operátory ve +stylu C. /para table -titleIncrement/decrement Operators/title +titleInkrementaèní/dekrementaèní operátory/title tgroup cols=3 thead row - entryExample/entry - entryName/entry - entryEffect/entry + entryPøíklad/entry + entryNázev/entry + entryÚèinek/entry /row /thead tbody row entry++$a/entry - entryPre-increment/entry - entryIncrements $a by one, then returns $a./entry + entryPre-inkrementace/entry + entryInkrementuje $a o jednièku, potom vrátí $a./entry /row row entry$a++/entry - entryPost-increment/entry - entryReturns $a, then increments $a by one./entry + entryPost-inkrementace/entry + entryVrátí $a, potom inkrementuje $a o jednièku./entry /row row entry--$a/entry - entryPre-decrement/entry - entryDecrements $a by one, then returns $a./entry +
[PHP-DOC] cvs: phpdoc /cs/chmonly aboutchm.xml usingchm.xml /cs/language operators.xml
luk Thu Apr 18 16:28:57 2002 EDT Added files: /phpdoc/cs/chmonly aboutchm.xml usingchm.xml Modified files: /phpdoc/cs/language operators.xml Log: Index: phpdoc/cs/language/operators.xml diff -u phpdoc/cs/language/operators.xml:1.2 phpdoc/cs/language/operators.xml:1.3 --- phpdoc/cs/language/operators.xml:1.2Wed Apr 17 18:14:04 2002 +++ phpdoc/cs/language/operators.xmlThu Apr 18 16:28:57 2002 -277,18 +277,17 /sect1 sect1 id=language.operators.errorcontrol - titleError Control Operators/title + titleOperátory øízení chyb/title simpara -PHP supports one error control operator: the at sign (). When -prepended to an expression in PHP, any error messages that might -be generated by that expression will be ignored. +PHP podporuje jeden operátor øízení chyb: znak at (). Kdy¾ ho pøedøadíte +výrazu v PHP, jakékoli chybové zprávy, které se mohou generovat ve +výrazu, budou ignorovány. /simpara simpara -If the link linkend=ini.track-errorstrack_errors/link -feature is enabled, any error message generated by the expression -will be saved in the global variable $php_errormsg. This variable -will be overwritten on each error, so check early if you want to -use it. +Pokud je zapnutolink linkend=ini.track-errorstrack_errors/link, +budou se v¹echny chybové zprávy generované výrazem ukládat do globální +promìnné $php_errormsg. Tato promìnná bude pøepsána pøi ka¾dé chybì, +tak¾e ji testujte v¾dy co nejdøíve, pokud ji chcete pou¾ívat. /simpara para informalexample Index: phpdoc/cs/chmonly/aboutchm.xml +++ phpdoc/cs/chmonly/aboutchm.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.1 Maintainer: luk Status: ready -- chapter id=chm.about titleO tomto vydání/title para PHP manuál ve vydání Windows HTML Help je zamìøen na vývojáøe, kteøí chtìjí mít manuál stále po ruce, a rádi by èetli manuálové stránky a u¾ivatelské poznámky bez èekání na stahování stránek ze vzdálených serverù. Toto vydání obsahuje úplný manuál + u¾ivatelské poznámky, a to se v¹emi mo¾nostmi, které poskytuje prohlí¾eè nápovìdy. /para /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:../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -- Index: phpdoc/cs/chmonly/usingchm.xml +++ phpdoc/cs/chmonly/usingchm.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.1 Maintainer: luk Status: ready -- chapter id=chm.using titlePou¾ití prohlí¾eèe HTML nápovìdy/title para Po dvojkliku na souboru CHM se otevøe okno prohlí¾eèe HTML nápovìdy se tøemi panely. Na levé stranì okna je navigaèní panel. Obsahuje ètyøi navigaèní karty s ou¹ky: Obsah, Rejstøík, Vyhledávat a Oblíbené. Na pravé stranì je panel témat. Zobrazuje vybrané téma nápovìdy, resp. implicitní téma po startu. Tøetím panelem je panel nástrojù, umístìný pod titulkovou li¹tou okna. /para para V¹imnìte si, ¾e kdy¾ otevøete CHM poprvé, mù¾e mít okno nìjaké podivné rozmìry a pozici. Potom si ale systém Windows zapamatuje pozici a rozmìr okna a naposledy pou¾itou kartu. V¹echno, vèetnì oblíbených polo¾ek, se ulo¾í do souboru filenamehh.dat/filename. Pokud pøesunete soubor do jiného adresáøe, zapamatované nastavení budou ztracena (vèetnì oblíbených polo¾ek!). Nahradíte-li CHM soubor novìj¹í verzí se stejným názvem, nevzniknou ¾ádné problémy. Názvy souborù a cesty se ukládají do souboru filenamehh.dat/filename. /para sect1 id=chm.using.toolbar titlePanel nástrojù HTML nápovìdy/title para Kdy¾ si prohlí¾íte PHP manuál, panel nástrojù HTML nápovìdy obsahuje následující ikony: itemizedlist listitem simparaSkrýt/Zobrazit - Skryje/zobrazí navigaèní panel./simpara /listitem listitem simpara Nalézt - Nalezne téma na kartì s obsahem (v pøípadì, ¾e jste pøíslu¹né téma otevøeli pomocí vyhledávání, rejstøíku nebo oblíbených polo¾ek a chtìli byste vìdìt, kde se nachází v obsahu). /simpara /listitem listitem simparaZpìt - Návrat zpìt v historii./simpara /listitem listitem simparaVpøed - Pohyb dopøedu v historii./simpara /listitems listitem simparaObnovit - Aktualizuje zobrazenou stránku./simpara /listitem listitem simparaDomù - Otevøe výchozí stránku CHM./simpara /listitem listitem simparaTisk - Otevøe dialog pro tisk./simpara /listitem listitem simparaMo¾nosti - Rozbalení nabídky s mo¾nostmi prohlí¾eèe./simpara /listitem /itemizedlist Pou¾ití panelu nástrojù je opravdu jednoduché, mnoho ikon
[PHP-DOC] cvs: phpdoc /cs make_chm_index_cs.html /cs/language operators.xml
luk Wed Apr 17 18:14:04 2002 EDT Added files: /phpdoc/cs make_chm_index_cs.html Modified files: /phpdoc/cs/language operators.xml Log: Index: phpdoc/cs/language/operators.xml diff -u phpdoc/cs/language/operators.xml:1.1 phpdoc/cs/language/operators.xml:1.2 --- phpdoc/cs/language/operators.xml:1.1Sun Apr 14 15:35:23 2002 +++ phpdoc/cs/language/operators.xmlWed Apr 17 18:14:04 2002 -79,54 +79,53 /informalexample /para para -In addition to the basic assignment operator, there are combined -operators for all of the binary arithmetic and string operators -that allow you to use a value in an expression and then set its -value to the result of that expression. For example: +Kromì základního operátoru pøiøazení existují je¹tì kombinované +operátory pro v¹echny binární aritmetické a øetìzové operátory, které +umo¾òují pou¾ít hodnotu ve výrazu a pak hodnotu tohoto výrazu pøiøadit +zpìt. Napøíklad: informalexample programlisting role=php ![CDATA[ $a = 3; -$a += 5; // sets $a to 8, as if we had said: $a = $a + 5; -$b = Hello ; -$b .= There!; // sets $b to Hello There!, just like $b = $b . There!; +$a += 5; // nastaví $a na hodnotu 8, jako kdybychom øekli: $a = $a + 5; +$b = Ahoj ; +$b .= tam!; // nastaví $b na Ahoj tam!, pøesnì tak, jako $b = $b . tam!; ]] /programlisting /informalexample /para para -Note that the assignment copies the original variable to the new -one (assignment by value), so changes to one will not affect the -other. This may also have relevance if you need to copy something -like a large array inside a tight loop. PHP 4 supports assignment -by reference, using the computeroutput$var = -amp;$othervar;/computeroutput syntax, but this is not possible -in PHP 3. 'Assignment by reference' means that both variables end -up pointing at the same data, and nothing is copied anywhere. -To learn more about references, please read link -linkend=language.referencesReferences explained/link. +Uvìdomte si, ¾e pøiøazení zkopíruje hodnotu pùvodní promìnné do nové +promìnné (pøiøazení hodnoty), tak¾e zmìny jedné z nich se na druhé +promìnné neprojeví. To mù¾e mít význam také tehdy, kdy¾ potøebujete +zkopírovat nìco jako obrovské pole uvnitø krátkého cyklu. PHP 4 podporuje +pøiøazení odkazem pou¾itím syntaxe +computeroutput$var = amp;$othervar;/computeroutput, ale v PHP 3 to +provést nelze. Pøiøazení odkazem znamená, ¾e obì promìnné ukazují na +tatá¾ data a nic se nikam nekopíruje. Chcete-li se o odkazech dozvìdìt +více, ètìte prosím +link linkend=language.referencesVysvìtlení referencí/link. /para /sect1 sect1 id=language.operators.bitwise - titleBitwise Operators/title + titleBitové operátory/title simpara -Bitwise operators allow you to turn specific bits within an -integer on or off. If both the left- and right-hand parameters are -strings, the bitwise operator will operate on the characters in this -string. +Bitové operátory umo¾òují pøehodit konkrétní bit v celoèíselné hodnotì +(integer) na jednièku nebo nulu. Pokud jsou jak levý, tak pravý parametr +øetìzce, pracují bitové operátory na znacích v tìchto øetezcích. /simpara para informalexample programlisting ![CDATA[ ?php -echo 12 ^ 9; // Outputs '5' +echo 12 ^ 9; // Vypí¹e '5' -echo 12 ^ 9; // Outputs the Backspace character (ascii 8) +echo 12 ^ 9; // Vypí¹e znak Backspace (ascii 8) // ('1' (ascii 49)) ^ ('9' (ascii 57)) = #8 -echo hallo ^ hello; // Outputs the ascii values #0 #4 #0 #0 #0 +echo hallo ^ hello; // Vypí¹e ascii hodnoty #0 #4 #0 #0 #0 // 'a' ^ 'e' = #4 ? ]] -135,54 +134,56 /para table -titleBitwise Operators/title +titleBitové operátory/title tgroup cols=3 thead row - entryExample/entry - entryName/entry - entryResult/entry + entryPøíklad/entry + entryNázev/entry + entryVýsledek/entry /row /thead tbody row entry$a amp; $b/entry - entryAnd/entry - entryBits that are set in both $a and $b are set./entry + entryAnd (log. souèin)/entry + entryNastavují se bity, kde je jednièka v $a i v $b./entry /row row entry$a | $b/entry - entryOr/entry - entryBits that are set in either $a or $b are set./entry + entryOr(log. souèet)/entry + entryNastavují se bity, kde je jednièka v $a nebo v $b (i v + obou souèasnì)./entry /row row entry$a ^ $b/entry - entryXor/entry + entryXor (exkluzívní log. souèet)/entry entry - Bits that are set in $a or $b but not both are set. + Nastavují se bity, kde je jednièka v $a nebo v $b, ale ne v obou +
[PHP-DOC] cvs: phpdoc /cs language-snippets.ent /cs/language operators.xml
luk Sun Apr 14 15:35:23 2002 EDT Added files: /phpdoc/cs/language operators.xml Modified files: /phpdoc/cs language-snippets.ent Log: language-snippets.ent synced Index: phpdoc/cs/language-snippets.ent diff -u phpdoc/cs/language-snippets.ent:1.11 phpdoc/cs/language-snippets.ent:1.12 --- phpdoc/cs/language-snippets.ent:1.11Thu Mar 7 18:25:02 2002 +++ phpdoc/cs/language-snippets.ent Sun Apr 14 15:35:23 2002 -1,40 +1,85 ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.20 Maintainer: luk Status: ready -- +!-- EN-Revision: 1.22 Maintainer: luk Status: ready -- +!ENTITY warn.experimental 'warningsimparaTento modul je +emphasisEXPERIMENTÁLNÍ/emphasis. To znamená, ¾e chování tìchto funkcí a +jejich názvy, pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích +verzích PHP mù¾e BEZ OHLÁ©ENÍ zmìnit. Berte to v úvahu a pou¾ívejte tento modul +na vlastní nebezpeèí./simpara/warning' + +!ENTITY warn.experimental.func 'warningsimparaTato funkce je +emphasisEXPERIMENTÁLNÍ/emphasis. To znamená, ¾e chování této funkce a její +název, pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích verzích +PHP mù¾e BEZ OHLÁ©ENÍ zmìnit. Berte to v úvahu a pou¾ívejte tuto funkci na +vlastní nebezpeèí./simpara/warning' + +!ENTITY warn.undocumented.func 'warningsimparaTato funkce je¹tì není +zdokumentována, k dispozici je pouze seznam argumentù./simpara/warning' + +!ENTITY tip.ob-capture 'tipsimparaJako pro cokoliv, co posílá své výsledky +pøímo do prohlí¾eèe, mù¾ete pou¾ít link linkend=ref.outcontrolfunkce pro +øízení výstupu/link k zachycení výstupu této funkce a jeho ulo¾ení - +napøíklad - do øetìzce (typestring/type)./simpara/tip' + +!ENTITY tip.fopen-wrapper 'tipsimparaS touto funkcí mù¾ete pou¾ívat URL +jako název souboru, pokud je zapnuta volba fopen wrappers. Více detailù - +viz funkce functionfopen/function./simpara/tip' + +!ENTITY return.success 'Vrací constantTRUE/constant pøi úspìchu, +constantFALSE/constant pøi selhání.' + +!ENTITY return.falseproblem 'warningsimparaTato funkce mù¾e vracet +booleovskou hodnotu false;, ale také nebooleovskou hodnotu odpovídající +ohodnocení false;, napøíklad literal0/literal nebo quot;quot;. Ètìte +prosím sekci o typu link linkend=language.types.booleanBoolean/link, kde +najdete více informací. Pro testování návratové hodnoty této funkce pou¾ijte +link linkend=language.operators.comparisonoperátor +===/link./simpara/warning' + +!ENTITY note.not-bin-safe 'warningsimparaTato funkce není (je¹tì) binárnì +bezpeèná!/simpara/warning' +!ENTITY note.bin-safe 'notesimparaTato funkce je binárnì +bezpeèná./simpara/note' -!ENTITY warn.experimental 'warningsimparaTento modul je emphasisEXPERIMENTÁLNÍ/emphasis. To znamená, ¾e chování tìchto funkcí a jejich názvy, pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích verzích PHP mù¾e BEZ OHLÁ©ENÍ zmìnit. Berte to v úvahu a pou¾ívejte tento modul na vlastní nebezpeèí./simpara/warning' -!ENTITY warn.experimental.func 'warningsimparaTato funkce je emphasisEXPERIMENTÁLNÍ/emphasis. To znamená, ¾e chování této funkce a její název, pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích verzích PHP mù¾e BEZ OHLÁ©ENÍ zmìnit. Berte to v úvahu a pou¾ívejte tuto funkci na vlastní nebezpeèí./simpara/warning' +!ENTITY note.no-windows 'notesimparaTato funkce není implementována na +platformách Windows./simpara/note' -!ENTITY warn.undocumented.func 'warningsimparaTato funkce je¹tì není zdokumentována, k dispozici je pouze seznam argumentù./simpara/warning' - -!ENTITY tip.ob-capture 'tipsimparaJako pro cokoliv, co posílá své výsledky pøímo do prohlí¾eèe, mù¾ete pou¾ít link linkend=ref.outcontrolfunkce pro øízení výstupu/link k zachycení výstupu této funkce a jeho ulo¾ení - napøíklad - do øetìzce (typestring/type)./simpara/tip' - -!ENTITY return.success 'Vrací constantTRUE/constant pøi úspìchu, constantFALSE/constant pøi selhání.' - -!ENTITY note.not-bin-safe 'warningsimparaTato funkce není (je¹tì) binárnì bezpeèná!/simpara/warning' - -!ENTITY note.bin-safe 'notesimparaTato funkce je binárnì bezpeèná./simpara/note' - -!ENTITY note.no-windows 'notesimparaTato funkce není implementována na platformách Windows./simpara/note' - -!ENTITY note.func-callback 'notesimparaMísto názvu funkce mù¾e pou¾ito pole obsahující odkaz na objekt a název metody./simpara/note' +!ENTITY note.func-callback 'notesimparaMísto názvu funkce mù¾e pou¾ito +pole obsahující odkaz na objekt a název metody./simpara/note' !-- Notes for safe-mode limited functions: -- !ENTITY note.sm.disabled 'notesimparasm.disabled;/simpara/note' -!ENTITY note.sm.uidcheck 'notesimparaPokud je zapnut bezpeèný re¾im (link -linkend=features.safe-modesafe-mode/link), PHP kontroluje, zda soubory/adresáøe, -se kterými pracujete, mají stejné UID jako spu¹tìný skript./simpara/note' -!ENTITY note.sm.uidcheck.dir 'notesimparaPokud je zapnut bezpeèný re¾im (link
[PHP-DOC] cvs: phpdoc /cs/language control-structures.xml
luk Thu Apr 4 14:55:40 2002 EDT Modified files: /phpdoc/cs/language control-structures.xml Log: Index: phpdoc/cs/language/control-structures.xml diff -u phpdoc/cs/language/control-structures.xml:1.2 phpdoc/cs/language/control-structures.xml:1.3 --- phpdoc/cs/language/control-structures.xml:1.2 Thu Mar 28 18:17:48 2002 +++ phpdoc/cs/language/control-structures.xml Thu Apr 4 14:55:40 2002 -237,10 +237,9 vnoøený kód se neprovede vùbec. /simpara para -Like with the literalif/literal statement, you can group -multiple statements within the same literalwhile/literal loop -by surrounding a group of statements with curly braces, or by -using the alternate syntax: +Podobnì, jako v pøípadì literalif/literal, mù¾ete i zde seskupovat +konstrukty uvnitø cyklu literalwhile/literal ohranièením tohoto +kódu slo¾enými závorkami nebo za pou¾ití alternativní syntaxe: informalexample programlisting ![CDATA[ -250,21 +249,20 /informalexample /para para -The following examples are identical, and both print numbers from -1 to 10: +Následující pøíklady jsou identické, oba vypí¹í èísla od 1 do 10: informalexample programlisting role=php ![CDATA[ -/* example 1 */ +/* pøíklad 1 */ $i = 1; while ($i = 10) { -print $i++; /* the printed value would be -$i before the increment -(post-increment) */ +print $i++; /* vyti¹tìná hodnota by byla rovna +$i pøed inkrementací +(post-inkrementace) */ } -/* example 2 */ +/* pøíklad 2 */ $i = 1; while ($i = 10): -280,20 +278,17 sect1 id=control-structures.do.while titleliteraldo..while/literal/title simpara -literaldo..while/literal loops are very similar to -literalwhile/literal loops, except the truth expression is -checked at the end of each iteration instead of in the beginning. -The main difference from regular literalwhile/literal loops is -that the first iteration of a literaldo..while/literal loop is -guaranteed to run (the truth expression is only checked at the end -of the iteration), whereas it's may not necessarily run with a -regular literalwhile/literal loop (the truth expression is -checked at the beginning of each iteration, if it evaluates to -false; right from the beginning, the loop -execution would end immediately). +Cykly literaldo..while/literal jsou velmi podobné cyklùm +literalwhile/literal kromì toho, ¾e pravdivost výrazu se testuje +na konci ka¾dé iterace namísto jejího zaèátku. Hlavní rozdíl oproti +bì¾ným cyklùm literalwhile/literal je ten, ¾e první iterace cyklu +literaldo..while/literal se provede v¾dy (pravdivostní výraz je +testován a¾ na konci iterace), co¾ u cyklu literalwhile/literal +není zaruèeno (pravdivostní výraz je testován na zaèátku iterace; pokud +je ohodnocen jako false;, provádìní cyklu hned skonèí). /simpara para -There is just one syntax for literaldo..while/literal loops: +Toto je jediná syntaxe pro cykly literaldo..while/literal: informalexample programlisting role=php -307,33 +302,32 /informalexample /para simpara - The above loop would run one time exactly, since after the first - iteration, when truth expression is checked, it evaluates to - false; ($i is not bigger than 0) and the loop - execution ends. + Vý¹e uvedený cyklus by se provedl právì jednou, proto¾e po první iteraci, + kdy¾ se testuje pravdivostní výraz, je tento ohodnocen jako false; + ($i není vìt¹í ne¾ 0) a provádìní cyklu konèí. /simpara para -Advanced C users may be familiar with a different usage of the -literaldo..while/literal loop, to allow stopping execution in -the middle of code blocks, by encapsulating them with -literaldo..while/literal(0), and using the link -linkend=control-structures.breakliteralbreak/literal/link -statement. The following code fragment demonstrates this: +Pokroèilí programátoøi v C mohou znát i odli¹né pou¾ití cyklu +literaldo..while/literal. Kód se uzavøe do +literaldo..while/literal(0) a pou¾ije se pøíkaz +link linkend=control-structures.breakliteralbreak/literal/link. +To umo¾òuje pøeru¹it provádìní cyklu uprostøed kódu, jak je znázornìno +v tomto pøíkladu: informalexample programlisting role=php ![CDATA[ do { if ($i 5) { -print i is not big enough; +print i není dost velké; break; } $i *= $factor; if ($i $minimum_limit) { break; } -print i is ok; +print i je ok; - ...process i... + ...zpracuj i... } while(0); ]] -341,18 +335,17 /informalexample /para simpara -Don't worry if you don't understand this right away or at all. -You can code scripts and even powerful scripts
[PHP-DOC] cvs: phpdoc /cs/language control-structures.xml
luk Thu Mar 28 18:17:48 2002 EDT Modified files: /phpdoc/cs/language control-structures.xml Log: Index: phpdoc/cs/language/control-structures.xml diff -u phpdoc/cs/language/control-structures.xml:1.1 phpdoc/cs/language/control-structures.xml:1.2 --- phpdoc/cs/language/control-structures.xml:1.1 Mon Mar 25 18:07:15 2002 +++ phpdoc/cs/language/control-structures.xml Thu Mar 28 18:17:48 2002 -178,44 +178,45 /informalexample /para simpara -In the above example, the HTML block A = 5 is nested within an -literalif/literal statement written in the alternative syntax. -The HTML block would be displayed only if $a is equal to 5. +Ve vý¹e uvedeném pøíkladu je HTML blok vnoøen do konstruktu +literalif/literal napsaném alternativní syntaxí. +Tento HTML blok by se zobrazil pouze v pøípadì, ¾e je $a rovno 5. /simpara para -The alternative syntax applies to literalelse/literal and -literalelseif/literal as well. The following is an -literalif/literal structure with literalelseif/literal and -literalelse/literal in the alternative format: +Alternativní syntaxi lze pou¾ít i pro literalelse/literal a +literalelseif/literal. Následující pøíklad ukazuje strukturu +literalif/literal, literalelseif/literal a +literalelse/literal v alternativním formátu: informalexample programlisting role=php ![CDATA[ if ($a == 5): -print a equals 5; +print a se rovná 5; print ...; elseif ($a == 6): -print a equals 6; +print a se rovná 6; print !!!; else: -print a is neither 5 nor 6; +print a není ani 5, ani 6; endif; ]] /programlisting /informalexample /para para -See also link linkend=control-structures.whilewhile/link, -link linkend=control-structures.forfor/link, and link -linkend=control-structures.ifif/link for further examples. +Dal¹í pøíklady - viz také +link linkend=control-structures.whilewhile/link, +link linkend=control-structures.forfor/link, a link +linkend=control-structures.ifif/link. /para /sect1 sect1 id=control-structures.while titleliteralwhile/literal/title para -literalwhile/literal loops are the simplest type of loop in -PHP. They behave just like their C counterparts. The basic form -of a literalwhile/literal statement is: +Cykly literalwhile/literal jsou nejjednodu¹¹ím typem cyklù v PHP. +Chovají se jako jejich protìj¹ci v C. Základí formát konstruktu +literalwhile/literal je tento: informalexample programlisting ![CDATA[ -225,17 +226,15 /informalexample /para simpara -The meaning of a literalwhile/literal statement is simple. It -tells PHP to execute the nested statement(s) repeatedly, as long -as the literalwhile/literal expression evaluates to -true;. The value of the expression is checked -each time at the beginning of the loop, so even if this value -changes during the execution of the nested statement(s), execution -will not stop until the end of the iteration (each time PHP runs -the statements in the loop is one iteration). Sometimes, if the -literalwhile/literal expression evaluates to -false; from the very beginning, the nested -statement(s) won't even be run once. +Význam konstruktu literalwhile/literal je snadno pochopitelný. +Øíká PHP, ¾e má provádìt vnoøený(é) konstrukt(y) tak dlouho, dokud je +výraz ve literalwhile/literal roven true;. Hodnota výrazu je testována +poka¾dé na zaèátku cyklu (v ka¾dé iteraci), tak¾e i kdy¾ se tato hodnota +bìhem provádìní vnoøených konstruktù zmìní, provede se zbytek kódu uvnitø +cyklu - v konkrétní iteraci - a¾ do konce (ka¾dé provedení kódu uvnitø +cyklu je jedna iterace). Nìkdy, kdy¾ je výraz ve +literalwhile/literal ohodnocen jako false; ji¾ pøi vstupu do cyklu, +vnoøený kód se neprovede vùbec. /simpara para Like with the literalif/literal statement, you can group
[PHP-DOC] cvs: phpdoc /cs translation.xml /cs/language functions.xml references.xml
luk Sun Mar 17 17:16:10 2002 EDT Added files: /phpdoc/cs/language functions.xml Modified files: /phpdoc/cs translation.xml /phpdoc/cs/language references.xml Log: Index: phpdoc/cs/translation.xml diff -u phpdoc/cs/translation.xml:1.3 phpdoc/cs/translation.xml:1.4 --- phpdoc/cs/translation.xml:1.3 Thu Mar 14 18:17:32 2002 +++ phpdoc/cs/translation.xml Sun Mar 17 17:16:09 2002 -14,18 +14,16 /translators work-in-progress - file name=appendices/phpdevel.xmlperson=luk type=translation / - file name=appendices/predefined.xml person=luk type=translation / - file name=appendices/resources.xml person=luk type=translation / - file name=functions/mysql.xmlperson=costra type=translation / - file name=language/control-structures.xml person=luk type=translation / - file name=language/expressions.xmlperson=luk type=translation / - file name=language/functions.xml person=luk type=translation / - file name=language/operators.xml person=luk type=translation / - file name=language/oop.xmlperson=luk type=translation / - file name=language/references.xml person=luk type=translation / - file name=language/types.xml person=luk type=translation / - file name=language/variables.xml person=luk type=translation / + file name=appendices/phpdevel.xml person=luk type=translation / + file name=appendices/predefined.xml person=luk type=translation / + file name=appendices/resources.xmlperson=luk type=translation / + file name=functions/mysql.xml person=costra type=translation +/ + file name=language/control-structures.xml person=luk type=translation / + file name=language/expressions.xmlperson=luk type=translation / + file name=language/operators.xml person=luk type=translation / + file name=language/oop.xmlperson=luk type=translation / + file name=language/types.xml person=luk type=translation / + file name=language/variables.xml person=luk type=translation / /work-in-progress /translation Index: phpdoc/cs/language/references.xml diff -u phpdoc/cs/language/references.xml:1.1 phpdoc/cs/language/references.xml:1.2 --- phpdoc/cs/language/references.xml:1.1 Thu Mar 14 18:17:33 2002 +++ phpdoc/cs/language/references.xml Sun Mar 17 17:16:09 2002 -1,28 +1,28 ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.22 Maintainer: luk Status: mixed -- +!-- EN-Revision: 1.22 Maintainer: luk Status: ready -- chapter id=language.references titleVysvìtlení referencí (odkazù)/title sect1 id=language.references.whatare titleCo jsou reference/title - simpara -References are a means in PHP to access the same variable content -by different names. They are not like C pointers, they are symbol -table aliases. Note that in PHP, variable name and variable content -are different, so the same content can have different names. -The most close analogy is with Unix filenames and files - -variable names are directory entries, while variable contents is -the file itself. References can be thought of as hardlinking in -Unix filesystem. + simpara +Reference (odkazy) jsou prostøedek, ja v PHP pøistupovat k tému¾ obsahu +promìnné pod rùznými jmény. Nejsou to ukazatele (pointery jako v C, jsou +to aliasy v tabulce symbolù. Uvìdomte si, ¾e v PHP je rozdíl mezi +názvem promìnné a jejím obsahem, tak¾e stejný obsah mù¾e mít rùzné názvy. +Nejbli¾¹í analogií jsou názvy souborù a soubory v UNIXu - názvy +promìnných jsou polo¾ky adresáøe, obsahy promìnných samotné soubory. +Na reference mù¾e být nazíráno jako na hardlinky v UNIXovém systému +souborù. /simpara /sect1 sect1 id=language.references.whatdo - titleWhat References Do/title + titleCo reference dìlají/title para -PHP references allow you to make two variables to refer to the -same content. Meaning, when you do: +PHP reference umo¾òují zajistit, aby dvì promìnné odkazovaly na tentý¾ +obsah. Tzn. kdy¾ provedete: informalexample programlisting role=php ![CDATA[ -30,21 +30,20 ]] /programlisting /informalexample -it means that varname$a/varname and varname$b/varname -point to the same variable. +znamená to, ¾e varname$a/varname a varname$b/varname ukazují +na stejnou promìnnou. note para - varname$a/varname and varname$b/varname are completely - equal here, that's not varname$a/varname is pointing to - varname$b/varname or vice versa, that's - varname$a/varname and varname$b/varname pointing to the - same place. + varname$a/varname a varname$b/varname jsou zde úplnì + ekvivalentní,
[PHP-DOC] cvs: phpdoc /cs translation.xml /cs/faq installation.xml using.xml /cs/language references.xml
luk Thu Mar 14 18:17:34 2002 EDT Added files: /phpdoc/cs/faq using.xml /phpdoc/cs/language references.xml Modified files: /phpdoc/cs translation.xml /phpdoc/cs/faq installation.xml Log: Index: phpdoc/cs/translation.xml diff -u phpdoc/cs/translation.xml:1.2 phpdoc/cs/translation.xml:1.3 --- phpdoc/cs/translation.xml:1.2 Tue Mar 12 16:21:52 2002 +++ phpdoc/cs/translation.xml Thu Mar 14 18:17:32 2002 -14,11 +14,18 /translators work-in-progress - file name=appendices/phpdevel.xml person=luk type=translation / - file name=faq/installation.xml person=luk type=translation / - file name=faq/mailinglist.xml person=luk type=translation / - file name=faq/using.xmlperson=luk type=translation / - file name=functions/mysql.xml person=costra type=translation / + file name=appendices/phpdevel.xmlperson=luk type=translation / + file name=appendices/predefined.xml person=luk type=translation / + file name=appendices/resources.xml person=luk type=translation / + file name=functions/mysql.xmlperson=costra type=translation / + + file name=language/control-structures.xml person=luk type=translation / + file name=language/expressions.xmlperson=luk type=translation / + file name=language/functions.xml person=luk type=translation / + file name=language/operators.xml person=luk type=translation / + file name=language/oop.xmlperson=luk type=translation / + file name=language/references.xml person=luk type=translation / + file name=language/types.xml person=luk type=translation / + file name=language/variables.xml person=luk type=translation / /work-in-progress /translation Index: phpdoc/cs/faq/installation.xml diff -u phpdoc/cs/faq/installation.xml:1.1 phpdoc/cs/faq/installation.xml:1.2 --- phpdoc/cs/faq/installation.xml:1.1 Wed Mar 13 16:43:21 2002 +++ phpdoc/cs/faq/installation.xml Thu Mar 14 18:17:33 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.13 Maintainer: luk Status: mixed -- +!-- EN-Revision: 1.13 Maintainer: luk Status: ready -- chapter id=faq.installation titleInstalace/title -23,25 +23,25 qandaentry id=faq.installation.phpini question para - Unix/Windows: Where should my php.ini file be located? + Unix/Windows: Kde by mìl být ulo¾en soubor php.ini? /para /question answer para - By default on UNIX it should be in filename/usr/local/lib/filename. - Most people will want to change this at compile-time with the - link linkend=install.configure.with-config-file-path--with-config-file-path/link - flag. You would, for example, set it with something like: + V UNIXu má být implicitnì v adresáøi filename/usr/local/lib/filename. + Mnoho lidí to bude chtít pøi kompilaci zmìnit pomocí parametru + link +linkend=install.configure.with-config-file-path--with-config-file-path/link. + Mohli byste ho, napøíklad, nastavit zhruba takto: programlisting --with-config-file-path=/etc /programlisting - And then you would copy filenamephp.ini-dist/filename from - the distribution to filename/etc/php.ini/filename and - edit it to make any local changes you want. + Pak byste zkopírovali soubor filenamephp.ini-dist/filename z + distribuce do filename/etc/php.ini/filename a upravili tak, jak + chcete. /para para - On Windows the default path for the filenamephp.ini/filename - file is the Windows directory. + Pod Windows je soubor filenamephp.ini/filename implicintì umístìn + v adresáøi systému Windows. /para /answer /qandaentry -49,23 +49,22 qandaentry id=faq.installation.nodata question para - Unix: I installed PHP, but every time I load a document, I get the - message 'Document Contains No Data'! What's going on here? + UNIX: Nainstaloval jsem PHP, ale v¾dy, kdy¾ naèítám dokument, dostanu + zprávu 'Document Contains No Data'! O co jde? /para /question answer para - This probably means that PHP is having some sort of problem - and is core-dumping. Look in your server error log to see if - this is the case, and then try to reproduce the problem with - a small test case. If you know how to use 'gdb', it is very - helpful when you can provide a backtrace with your bug report - to help the developers pinpoint the problem. If you are using - PHP as an Apache module try something like: + Pravdìpobnì to znamená, ¾e PHP má nìjaký problém a padá. Podívejte se + do protokolu chyb, zda se jedná o tento pøípad a pak zkuste problém + reprodukovat malým testem. Pokud víte, jak pou¾ívat
[PHP-DOC] cvs: phpdoc /cs/faq installation.xml
luk Wed Mar 13 16:43:21 2002 EDT Added files: /phpdoc/cs/faq installation.xml Log: Index: phpdoc/cs/faq/installation.xml +++ phpdoc/cs/faq/installation.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.13 Maintainer: luk Status: mixed -- chapter id=faq.installation titleInstalace/title titleabbrevInstalace/titleabbrev para Tato èást se zabývá èastými otázkamni ohlednì zpùsobu instalace PHP. PHP je dostupné pro vìt¹inu OS (v podstatì kromì MacOS pøe OSX) a vìt¹inu webovských serverù. /para para Pøi instalaci PHP postupujte podle instrukcí v souboru ulink url=faqurl.file.installation;INSTALL/ulink v pøíslu¹né distribuci. U¾ivatelé Windows by si také mìli pøeèíst soubor ulink url=faqurl.file.readmewin;install.txt/ulink. Existuje také soubor s rùznými fintami pro Windows - najdete ho link linkend=install.windowstady/link. /para qandaset qandaentry id=faq.installation.phpini question para Unix/Windows: Where should my php.ini file be located? /para /question answer para By default on UNIX it should be in filename/usr/local/lib/filename. Most people will want to change this at compile-time with the link linkend=install.configure.with-config-file-path--with-config-file-path/link flag. You would, for example, set it with something like: programlisting --with-config-file-path=/etc /programlisting And then you would copy filenamephp.ini-dist/filename from the distribution to filename/etc/php.ini/filename and edit it to make any local changes you want. /para para On Windows the default path for the filenamephp.ini/filename file is the Windows directory. /para /answer /qandaentry qandaentry id=faq.installation.nodata question para Unix: I installed PHP, but every time I load a document, I get the message 'Document Contains No Data'! What's going on here? /para /question answer para This probably means that PHP is having some sort of problem and is core-dumping. Look in your server error log to see if this is the case, and then try to reproduce the problem with a small test case. If you know how to use 'gdb', it is very helpful when you can provide a backtrace with your bug report to help the developers pinpoint the problem. If you are using PHP as an Apache module try something like: itemizedlist listitem para Stop your httpd processes /para /listitem listitem para gdb httpd /para /listitem listitem para Stop your httpd processes /para /listitem listitem para gt; run -X -f /path/to/httpd.conf /para /listitem listitem para Then fetch the URL causing the problem with your browser /para /listitem listitem para gt; run -X -f /path/to/httpd.conf /para /listitem listitem para If you are getting a core dump, gdb should inform you of this now /para /listitem listitem para type: bt /para /listitem listitem para You should include your backtrace in your bug report. This should be submitted to ulink url=faqurl.php.bugs;faqurl.php.bugs;/ulink /para /listitem /itemizedlist /para para If your script uses the regular expression functions (functionereg/function and friends), you should make sure that you compiled PHP and Apache with the same regular expression package. This should happen automatically with PHP and Apache 1.3.x /para /answer /qandaentry qandaentry id=faq.installation.processing question para Unix: I installed PHP using RPMS, but Apache isn't processing the PHP pages! What's going on here? /para /question answer para Assuming you installed both Apache and PHP from RPM packages, you need to uncomment or add some or all of the following lines in your filenamehttp.conf/filename file: programlisting # Extra Modules AddModule mod_php.c AddModule mod_php3.c AddModule mod_perl.c # Extra Modules LoadModule php_module modules/mod_php.so LoadModule php3_modulemodules/libphp3.so /* for PHP 3 */ LoadModule php4_modulemodules/libphp4.so /* for PHP 4 */ LoadModule perl_modulemodules/libperl.so /programlisting And add: programlisting AddType application/x-httpd-php3 .php3/* for PHP 3 */ AddType application/x-httpd-php .php /* for PHP 4 */ /programlisting ... to the global properties, or to the properties of the
[PHP-DOC] cvs: phpdoc /cs translation.xml /cs/faq html.xml languages.xml mailinglist.xml misc.xml obtaining.xml
luk Tue Mar 12 16:21:52 2002 EDT Added files: /phpdoc/cs/faq languages.xml mailinglist.xml misc.xml obtaining.xml Modified files: /phpdoc/cs translation.xml /phpdoc/cs/faq html.xml Log: Index: phpdoc/cs/translation.xml diff -u phpdoc/cs/translation.xml:1.1 phpdoc/cs/translation.xml:1.2 --- phpdoc/cs/translation.xml:1.1 Wed Mar 6 15:53:49 2002 +++ phpdoc/cs/translation.xml Tue Mar 12 16:21:52 2002 @@ -15,12 +15,8 @@ work-in-progress file name=appendices/phpdevel.xml person=luk type=translation / - file name=faq/html.xml person=luk type=translation / file name=faq/installation.xml person=luk type=translation / - file name=faq/languages.xmlperson=luk type=translation / file name=faq/mailinglist.xml person=luk type=translation / - file name=faq/misc.xml person=luk type=translation / - file name=faq/obtaining.xmlperson=luk type=translation / file name=faq/using.xmlperson=luk type=translation / file name=functions/mysql.xml person=costra type=translation / /work-in-progress Index: phpdoc/cs/faq/html.xml diff -u phpdoc/cs/faq/html.xml:1.1 phpdoc/cs/faq/html.xml:1.2 --- phpdoc/cs/faq/html.xml:1.1 Sun Mar 10 16:57:25 2002 +++ phpdoc/cs/faq/html.xml Tue Mar 12 16:21:52 2002 @@ -214,49 +214,48 @@ qandaentry id=faq.html.select-multiple question para - How do I get all the results from a select multiple HTML tag? + Jak získám v¹echna data z HTML elementu pro vícenásobný výbìr? /para /question answer para - The select multiple tag in an HTML construct allows users to - select multiple items from a list. These items are then passed - to the action handler for the form. The problem is that they - are all passed with the same widget name. ie. + Tag pro vícenásobný výbìr v HTML konstruktu umo¾òuje u¾ivatelùm vybrat + více polo¾ej ze seznamu. Tyto polo¾ky se posílají do handleru pro + formuláø. Problém je v tom, ¾e se zpracovávají pod stejným jménem. + Napøíklad: programlisting role=html ![CDATA[ select name=var multiple ]] /programlisting - Each selected option will arrive at the action handler as: + Ka¾dá vybraná mo¾nost pøijde do handleru akce jako: programlisting var=option1 var=option2 var=option3 /programlisting - Each option will overwrite the contents of the previous - varname$var/varname variable. The solution is to use - PHP's array from form element feature. The following - should be used: + Ka¾dá volba tedy pøepí¹e pøedchozí obsah promìnné varname$var/varname + Øe¹ením je pou¾ít pole vytvoøené v elementu formuláøe. Mìlo by se + pou¾ít toto: programlisting role=html ![CDATA[ select name=var[] multiple ]] /programlisting - This tells PHP to treat varname$var/varname as an array and - each assignment of a value to var[] adds an item to the array. - The first item becomes varname$var[0]/varname, the next - varname$var[1]/varname, etc. The functioncount/function - function can be used to determine how many options were selected, - and the functionsort/function function can be used to sort - the option array if necessary. + Vý¹e uvedený kód øíká PHP, ¾e má promìnnou varname$var/varname + zpracovat jako pole a ka¾dé pøiøazení hodnoty do var[] znamená pøidání + prvku do pole. První polo¾ka se tedy stane prvkem + varname$var[0]/varname, dal¹í + varname$var[1]/varname atd. Funkci functioncount/function + lze pou¾ít k urèení, kolik mo¾ností bylo vybráno, a v pøípadì potøeby + lze seøadit pole funkcí functionsort/function. /para para - Note that if you are using JavaScript the literal[]/literal - on the element name might cause you problems when you try to - refer to the element by name. Use it's numerical form element - id instead, or enclose the variable name in single quotes and - use that as the index to the elements array, for example: + Uvìdomte si, ¾e pokud pou¾íváte JavaScript, mù¾e pøidání + literal[]/literal do názvu elementu zpùsobit problémy pøi pokusu + odkazovat element jeho jménem. Tehdy pou¾ijte èíselnou identifikaci + elementu, nebo název promìnné uzavøete do apostrofù a pou¾ijte ho jako + indexaci do pole elementù, napøíklad: programlisting variable = documents.forms[0].elements['var[]']; /programlisting Index: phpdoc/cs/faq/languages.xml +++ phpdoc/cs/faq/languages.xml ?xml version=1.0 encoding=iso-8859-2? !-- EN-Revision: 1.9 Maintainer: luk Status: ready -- chapter id=faq.languages titlePHP a jiné jazyky/title titleabbrevPHP a jiné jazyky/titleabbrev para PHP je nejlep¹í jazyk pro webové programování, ale co jiné jazyky?
[PHP-DOC] cvs: phpdoc /cs bookinfo.xml language-defs.ent language-snippets.ent preface.xml /cs/appendices about.xml aliases.xml commandline.xml debugger.xml history.xml migration.xml migration4.xml reserved.xml /cs/faq build.xml com.xml databases.xml general.xml migration.xml migration4.xml /cs/features connection-handling.xml cookies.xml error-handling.xml file-upload.xml http-auth.xml images.xml persistent-connections.xml remote-files.xml safe-mode.xml /cs/language basic-syntax.xml constants.xml
luk Thu Mar 7 18:25:52 2002 EDT Modified files: /phpdoc/cs bookinfo.xml language-defs.ent language-snippets.ent preface.xml /phpdoc/cs/appendices about.xml aliases.xml commandline.xml debugger.xml history.xml migration.xml migration4.xml reserved.xml /phpdoc/cs/faq build.xml com.xml databases.xml general.xml migration.xml migration4.xml /phpdoc/cs/features connection-handling.xml cookies.xml error-handling.xml file-upload.xml http-auth.xml images.xml persistent-connections.xml remote-files.xml safe-mode.xml /phpdoc/cs/language basic-syntax.xml constants.xml Log: Maintenance info added and some small updates done Index: phpdoc/cs/bookinfo.xml diff -u phpdoc/cs/bookinfo.xml:1.7 phpdoc/cs/bookinfo.xml:1.8 --- phpdoc/cs/bookinfo.xml:1.7 Thu Jan 3 03:04:53 2002 +++ phpdoc/cs/bookinfo.xml Thu Mar 7 18:25:02 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-2? +!-- EN-Revision: 1.26 Maintainer: luk Status: ready -- bookinfo id=bookinfo authorgroup id=authors Index: phpdoc/cs/language-defs.ent diff -u phpdoc/cs/language-defs.ent:1.6 phpdoc/cs/language-defs.ent:1.7 --- phpdoc/cs/language-defs.ent:1.6 Thu Nov 22 16:11:10 2001 +++ phpdoc/cs/language-defs.ent Thu Mar 7 18:25:02 2002 -1,13 +1,16 ?xml encoding=iso-8859-2? -!ENTITY PHPManual PHP Manuál -!ENTITY Date Date: +!-- EN-Revision: 1.11 Maintainer: luk Status: ready -- + +!ENTITY PHPManual Manuál PHP +!ENTITY Date Datum: !ENTITY GettingStartedZaèínáme +!ENTITY Installation Instalace !ENTITY LanguageReference Reference jazyka !ENTITY Features Vlastnosti -!ENTITY FunctionReference Reference Funkcí +!ENTITY FunctionReference Reference funkcí !ENTITY AppendixesDodatky !ENTITY PEAR PEAR: the PHP Extension and Application Repository !ENTITY FAQ FAQ: Frequently Asked Questions !ENTITY FAQabbrev FAQ !ENTITY FunctionIndex Function Index - +!ENTITY CHMEditionHTML Help Edition Index: phpdoc/cs/language-snippets.ent diff -u phpdoc/cs/language-snippets.ent:1.10 phpdoc/cs/language-snippets.ent:1.11 --- phpdoc/cs/language-snippets.ent:1.10Tue Mar 5 13:59:40 2002 +++ phpdoc/cs/language-snippets.ent Thu Mar 7 18:25:02 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-2? -!-- PHPDoc snippets $Id: language-snippets.ent,v 1.10 2002/03/05 18:59:40 luk Exp $ -- +!-- EN-Revision: 1.20 Maintainer: luk Status: ready -- Index: phpdoc/cs/preface.xml diff -u phpdoc/cs/preface.xml:1.7 phpdoc/cs/preface.xml:1.8 --- phpdoc/cs/preface.xml:1.7 Sat Dec 29 01:54:02 2001 +++ phpdoc/cs/preface.xml Thu Mar 7 18:25:02 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-2? +!-- EN-Revision: 1.24 Maintainer: luk Status: ready -- preface id=preface titleÚvod/title Index: phpdoc/cs/appendices/about.xml diff -u phpdoc/cs/appendices/about.xml:1.1 phpdoc/cs/appendices/about.xml:1.2 --- phpdoc/cs/appendices/about.xml:1.1 Tue Feb 26 17:31:34 2002 +++ phpdoc/cs/appendices/about.xml Thu Mar 7 18:25:03 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-2? - +!-- EN-Revision: 1.11 Maintainer: luk Status: ready -- !-- TODO: add manual conventions section (eg. how to read function usage parts, what is fixed width, what is Index: phpdoc/cs/appendices/aliases.xml diff -u phpdoc/cs/appendices/aliases.xml:1.1 phpdoc/cs/appendices/aliases.xml:1.2 --- phpdoc/cs/appendices/aliases.xml:1.1Tue Feb 26 17:31:34 2002 +++ phpdoc/cs/appendices/aliases.xmlThu Mar 7 18:25:03 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-2? +!-- EN-Revision: 1.16 Maintainer: luk Status: ready -- appendix id=aliases titleSeznam aliasù funkcí/title Index: phpdoc/cs/appendices/commandline.xml diff -u phpdoc/cs/appendices/commandline.xml:1.1 phpdoc/cs/appendices/commandline.xml:1.2 --- phpdoc/cs/appendices/commandline.xml:1.1Wed Feb 27 19:04:05 2002 +++ phpdoc/cs/appendices/commandline.xmlThu Mar 7 18:25:03 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-2? +!-- EN-Revision: 1.9 Maintainer: luk Status: ready -- !-- TODO: Index: phpdoc/cs/appendices/debugger.xml diff -u phpdoc/cs/appendices/debugger.xml:1.1 phpdoc/cs/appendices/debugger.xml:1.2 --- phpdoc/cs/appendices/debugger.xml:1.1 Wed Feb 27 19:04:05 2002 +++ phpdoc/cs/appendices/debugger.xml Thu Mar 7 18:25:03 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-2? +!-- EN-Revision: 1.19 Maintainer: luk Status: ready -- appendix id=debugger titleLadìní (debugging) PHP/title Index: phpdoc/cs/appendices/history.xml diff -u phpdoc/cs/appendices/history.xml:1.1
[PHP-DOC] cvs: phpdoc /cs/functions mysql.xml
luk Thu Mar 7 18:39:26 2002 EDT Modified files: /phpdoc/cs/functionsmysql.xml Log: Fixed: not well-formed XML (to costra: please parse your files before committing to CVS) Index: phpdoc/cs/functions/mysql.xml diff -u phpdoc/cs/functions/mysql.xml:1.3 phpdoc/cs/functions/mysql.xml:1.4 --- phpdoc/cs/functions/mysql.xml:1.3 Mon Mar 4 16:12:41 2002 +++ phpdoc/cs/functions/mysql.xml Thu Mar 7 18:39:25 2002 -529,7 +529,7 nastane-li chyba/para para functionmysql_db_query/function provede dotaz v databázi specifikované - parametrem parameterdatabase/database. + parametrem parameterdatabase/parameter. Není-li identifikátor databáze uveden, funkce se pokusí nalézt ji¾ otevøené spojení s MySQL serverem. Pokud není ¾ádné aktivní spojení nalezeno, pokusí se vytvoøit nové spojení s výchozími hodnotami funkce -691,8 +691,7 methodsynopsis typestring/typemethodnamemysql_escape_string/methodname - methodparamtypestring/typeparameterunescaped_string/parameter/method -param + methodparamtypestring/typeparameterunescaped_string/parameter/methodparam /methodsynopsis para This function will escape the parameterunescaped_string/parameter,
[PHP-DOC] cvs: phpdoc /cs translation.xml /cs/faq com.xml databases.xml general.xml migration.xml migration4.xml
luk Wed Mar 6 15:53:53 2002 EDT Added files: /phpdoc/cs translation.xml /phpdoc/cs/faq com.xml databases.xml general.xml migration.xml migration4.xml Log: Index: phpdoc/cs/translation.xml +++ phpdoc/cs/translation.xml ?xml version=1.0 encoding=iso-8859-2 ? !DOCTYPE translation SYSTEM ../dtds/translation.dtd translation intro The Czech translation of the PHP Documentation is managed by luk, and the other contributors with a CVS user. /intro translators person name=Luká¹ Jelínek email=[EMAIL PROTECTED] nick=luk cvs=yes / person name=Pavel Novák email=[EMAIL PROTECTED] nick=costra cvs=yes / /translators work-in-progress file name=appendices/phpdevel.xml person=luk type=translation / file name=faq/html.xml person=luk type=translation / file name=faq/installation.xml person=luk type=translation / file name=faq/languages.xmlperson=luk type=translation / file name=faq/mailinglist.xml person=luk type=translation / file name=faq/misc.xml person=luk type=translation / file name=faq/obtaining.xmlperson=luk type=translation / file name=faq/using.xmlperson=luk type=translation / file name=functions/mysql.xml person=costra type=translation / /work-in-progress /translation Index: phpdoc/cs/faq/com.xml +++ phpdoc/cs/faq/com.xml ?xml version=1.0 encoding=iso-8859-2? chapter id=faq.com titlePHP a COM/title titleabbrevPHP a COM/titleabbrev para PHP lze na platformách Win32 pou¾ít k pøístupu k objektùm COM a DCOM. /para qandaset qandaentry id=faq.com.q1 question para Zkompiloval jsem knihovnu DLL k nìjakým výpoètùm. Existuje zpùsob, jak tuto knihovnu spustit pod PHP? /para /question answer para Pokud je to jednoduchá DLL knihovna, zatím ji není mo¾né spustit z PHP. Pokud v¹ak tato knihovna obsahuje COM server, mù¾ete k ní pøistupovat, pokud implementuje interface IDispatch. /para /answer /qandaentry qandaentry id=faq.com.q2 question paraCo znamená 'Unsupported variant type: (0x)'?/para /question answer para Existují tucty typù VARIANT a jejich kombinací. Vìt¹ina z nich je ji¾ podporována, ale nìkolik z nich teprve musí být implementováno. Pole nejsou podporována plnì. Mezi PHP a COM lze vymìòovat pouze jednorozmìrná indexovaná pole. Pokud najdete jiné typy, které nejsou podporovány, ohla¹te je prosím jako chybu - bug (pokud ji¾ nebyly ohlá¹eny) a poskytnìte o nich tolik informací, kolik mù¾ete. /para /answer /qandaentry qandaentry id=faq.com.q3 question paraJe mo¾né v PHP manipulovat vizuálními objekty?/para /question answer para Obecnì je, ale proto¾e PHP se nejèastìji pou¾ívá jako webovský skriptovací jazyk, bì¾í v prostøedí WWW serveru, a proto se vizuální objekty nezobrazují na plo¹e displeje serveru. Pokud pou¾íváte PHP pro aplikaèní skriptování, napø. spoleènì s PHP-GTK, neexistuje omezení pøístupu a manipulace s vizuálními objekty pomocí COM. /para /answer /qandaentry qandaentry id=faq.com.q4 question paraMohu ukládat COM objekty do session?/para /question answer para Nemù¾ete. S instancemi COM se nakládá jako s prostøedky a proto jsou k dispozici pouze v kontextu jediného skriptu. /para /answer /qandaentry qandaentry id=faq.com.q5 question paraJak mohu zachycovat chyby COM?/para /question answer para Momentálnì není mo¾né zachycovat chyby COM kromì zpùsobù poskytovaných samotným PHP (@, track_errors, ...), nicménì pøemý¹líme o zpùsobu, jak to implementovat. /para /answer /qandaentry qandaentry id=faq.com.q6 question paraMohu generovat knihovny DLL z PHP skriptù, podobnì jako v Perlu?/para /question answer para Ne, v PHP bohu¾el není takový nástroj k dispozici. /para /answer /qandaentry qandaentry id=faq.com.q7 question paraCo znamená 'Unable to obtain IDispatch interface for CLSID {----}'?/para /question answer para Tato chyba mù¾e mít více pøíèin: itemizedlist listitem simpara hodnota CLSID je chybná /simpara /listitem listitem simpara chybí po¾adovaná DLL knihovna /simpara /listitem listitem simpara po¾adovaná komponenta neimplementuje interface IDispatch /simpara /listitem /itemizedlist /para /answer /qandaentry qandaentry id=faq.com.q8 question paraJak lze spustit
[PHP-DOC] cvs: phpdoc /cs language-snippets.ent
luk Tue Mar 5 13:59:40 2002 EDT Modified files: /phpdoc/cs language-snippetsent Log: Index: phpdoc/cs/language-snippetsent diff -u phpdoc/cs/language-snippetsent:19 phpdoc/cs/language-snippetsent:110 --- phpdoc/cs/language-snippetsent:19 Mon Mar 4 16:08:58 2002 +++ phpdoc/cs/language-snippetsent Tue Mar 5 13:59:40 2002 -1,5 +1,5 ?xml version=10 encoding=iso-8859-2? -!-- PHPDoc snippets $Id: language-snippetsent,v 19 2002/03/04 21:08:58 luk Exp $ -- +!-- PHPDoc snippets $Id: language-snippetsent,v 110 2002/03/05 18:59:40 luk Exp $ +--
[PHP-DOC] cvs: phpdoc /cs/faq build.xml
luk Tue Mar 5 18:03:32 2002 EDT Added files: /phpdoc/cs/faq buildxml Log: Index: phpdoc/cs/faq/buildxml +++ phpdoc/cs/faq/buildxml ?xml version=10 encoding=iso-8859-2? chapter id=faqbuild titleSestavovací (kompilaèní) problémy/title titleabbrevSestavovací (kompilaèní) problémy/titleabbrev para Tato sekce shrnuje nejèastìj¹í chyby, které se vyskytují pøi sestavování PHP /para qandaset qandaentry id=faqbuildconfigure question para Pomocí anonymního pøístupu do CVS jsem získal poslední verzi PHP, ale chybí v ní skript configure! /para /question answer para Musíte mít nainstalovaný balík GNU autoconf, tak¾e mù¾ete vygenerovat skript configure z configurein Po sta¾ení zdrojových souborù z CVS serveru spus»te command/buildconf/command z nejvy¹¹í adresáøové úrovnì (pokud nespustíte configure s parametrem literal--enable-maintainer-mode/literal, skript configure nebude automaticky aktualizován pøi zmìnì souboru configurein, tak¾e se musíte ujistit, zda jste to udìlali ruènì poté, co byl configurein zmìnìn Jedním z pøíznakù tohoto je nalezení elementù jako VARIABLE v souboru Makefile potom, co byl spu¹tìn configure nebo configstatus) /para /answer /qandaentry qandaentry id=faqbuildconfiguring question para Mám problém nakonfigurovat PHP tak, aby fungovalo se serverem Apache Hlásí, ¾e nemù¾e najít httpdh, ale ten je pøesnì tam, kde jsem uvedl, ¾e je! /para /question answer para Potøebujete sdìlit konfiguraènímu/instalaènímu skriptu umístìní nejvy¹¹í úrovnì zdrojových souborù Apache To znamená, ¾e specifikujete 'literal--with-apache=/path/to/apache/literal' a emphasisne/emphasis 'literal--with-apache=/path/to/apache/src/literal' /para /answer /qandaentry qandaentry id=faqbuildnot-found question para Kdy¾ spustím configure, hlásí to, ¾e nemù¾e najít include soubory nebo knihovny pro GD, gdbm a nìjaké dal¹í balíky! /para /question answer para Mù¾ete urèit, aby skript configure hledal hlavièkové soubory a knihovny na nestandardních místech specifikací pomocných pøíznakù pro C preprocesor a linker, napøíklad: programlisting CPPFLAGS=-I/path/to/include LDFLAGS=-L/path/to/library /configure /programlisting Pokud pou¾íváte csh (C-shell) jako vá¹ login shell (proè?), bylo by to: programlisting env CPPFLAGS=-I/path/to/include LDFLAGS=-L/path/to/library /configure /programlisting /para /answer /qandaentry qandaentry id=faqbuildyytname question para Kdy¾ se kompiluje soubor language-parsertabc, hlásí to chyby, které øíkají 'yytname undeclared' /para /question answer para Musíte updatovat va¹i verzi programu Bison Nejnovìj¹í verzi najdete na ulink url=faqurlbison;faqurlbison;/ulink /para /answer /qandaentry qandaentry id=faqbuildlink question para Kdy¾ spustím make, zdá se, ¾e bì¾í dobøe, ale havaruje, kdy¾ se pokou¹í sestavit koneènou aplikaci s hlá¹ením, ¾e nemù¾e najít nìjaké soubory /para /question answer para Nìkteré star¹í verze programu make neukládají korektnì zkompilované verze souborù umístìných v adresáøi funkcí do tého¾ adresáøe Zkuste spustit commandcp *o functions/command a potom znovu 'commandmake/command', abyste vidìli, zda to pomohlo Pokud ano, mìli byste opravdu nainstalovat nejnovìj¹í verzi GNU make /para /answer /qandaentry qandaentry id=faqbuildundefined question para Pøi sestavování PHP to hlásí mnoho nedefinovaných referencí /para /question answer para Podívejte se do øádku, kde je popsáno sestavování a ujistìte se, ¾e byly pøidány na konec v¹echny potøebné knihovny Èasto se stává, ¾e chybí '-ldl' a nìkteré knihovny potøebné pro podporu databáze, kterou jste urèili /para para Pokud sestavujete pro Apache 12x, nezapomnìli jste pøidat odpovídající informace na øádek EXTRA_LIBS v souboru configure a spustit skript pro konfiguraci Apache? Pro více informací se podívejte do souboru ulink url=faqurlfileinstallation;INSTALL/ulink, který získáte s distribuèním balíkem /para para Nìkteøí lidé také hlásili, ¾e pokud sestavovali pro Apache, museli pøidat '-ldl' tìsnì za 'filenamelibphp4a/filename' /para /answer /qandaentry qandaentry id=faqbuildApache question para Nepøi¹el jsem na to, jak sestavit PHP pro Apache 13 /para /question answer para Toto je nyní velmi snadné Následujte peèlivì tyto kroky: itemizedlist listitem simpara Stáhnìte nejnovìj¹í
[PHP-DOC] cvs: phpdoc /cs language-snippets.ent
luk Mon Mar 4 16:08:59 2002 EDT Modified files: /phpdoc/cs language-snippetsent Log: Index: phpdoc/cs/language-snippetsent diff -u phpdoc/cs/language-snippetsent:18 phpdoc/cs/language-snippetsent:19 --- phpdoc/cs/language-snippetsent:18 Mon Feb 4 17:36:36 2002 +++ phpdoc/cs/language-snippetsent Mon Mar 4 16:08:58 2002 -1,14 +1,12 ?xml version=10 encoding=iso-8859-2? -!-- PHPDoc snippets $Id: language-snippetsent,v 18 2002/02/04 22:36:36 hholzgra Exp $ -- +!-- PHPDoc snippets $Id: language-snippetsent,v 19 2002/03/04 21:08:58 luk Exp $ +-- !ENTITY warnexperimental 'warningsimparaTento modul je emphasisEXPERIMENTÁLNÍ/emphasis To znamená, ¾e chování tìchto funkcí a jejich názvy, pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích verzích PHP mù¾e BEZ OHLÁ©ENÍ zmìnit Berte to v úvahu a pou¾ívejte tento modul na vlastní nebezpeèí/simpara/warning' !ENTITY warnexperimentalfunc 'warningsimparaTato funkce je emphasisEXPERIMENTÁLNÍ/emphasis To znamená, ¾e chování této funkce a její název, pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích verzích PHP mù¾e BEZ OHLÁ©ENÍ zmìnit Berte to v úvahu a pou¾ívejte tuto funkci na vlastní nebezpeèí/simpara/warning' -!ENTITY warnundocumentedfunc 'warningsimparaThis function is -currently not documented, only the argument list is -available/simpara/warning' +!ENTITY warnundocumentedfunc 'warningsimparaTato funkce je¹tì není +zdokumentována, k dispozici je pouze seznam argumentù/simpara/warning' !ENTITY tipob-capture 'tipsimparaJako pro cokoliv, co posílá své výsledky pøímo do prohlí¾eèe, mù¾ete pou¾ít link linkend=refoutcontrolfunkce pro øízení výstupu/link k zachycení výstupu této funkce a jeho ulo¾ení - napøíklad - do øetìzce (typestring/type)/simpara/tip' -20,29 +18,23 !ENTITY noteno-windows 'notesimparaTato funkce není implementována na platformách Windows/simpara/note' -!ENTITY notefunc-callback 'notesimparaInstead of a function name, an -array containing an object reference and a method name can also be -supplied/simpara/note' +!ENTITY notefunc-callback 'notesimparaMísto názvu funkce mù¾e pou¾ito pole +obsahující odkaz na objekt a název metody/simpara/note' !-- Notes for safe-mode limited functions: -- !ENTITY notesmdisabled 'notesimparasmdisabled;/simpara/note' -!ENTITY notesmuidcheck 'notesimparaWhen link -linkend=featuressafe-modesafe-mode/link is enabled, PHP checks whether -the file(s)/directories you are about to operate on, have the same UID as the -script that is being executed/simpara/note' -!ENTITY notesmuidcheckdir 'notesimparaWhen link -linkend=featuressafe-modesafe-mode/link is enabled, PHP checks whether -the directory in which you are about to operate, have the same UID as the -script that is being executed/simpara/note' +!ENTITY notesmuidcheck 'notesimparaPokud je zapnut bezpeèný re¾im (link +linkend=featuressafe-modesafe-mode/link), PHP kontroluje, zda soubory/adresáøe, +se kterými pracujete, mají stejné UID jako spu¹tìný skript/simpara/note' +!ENTITY notesmuidcheckdir 'notesimparaPokud je zapnut bezpeèný re¾im (link +linkend=featuressafe-modesafe-mode/link), PHP kontroluje, zda adresáø, +ve kterém pracujete, má stejné UID jako spu¹tìný skript/simpara/note' !-- Common pieces in features/safe-modexml Jade doesn't allow in-line entities, so I put them here Though they should have been inline in safe-modexml -- -!ENTITY smuidcheck 'Checks whether the file(s)/directories you are -about to operate on, have the same UID as the script that is being -executed' -!ENTITY smuidcheckdir 'Checks whether the directory in which -you are about to operate, has the same UID as the script that is being -executed' -!ENTITY smdisabled 'This functions is disabled in link -linkend=featuressafe-modesafe-mode/link' +!ENTITY smuidcheck 'Kontroluje, zda soubory/adresáøe, +se kterými pracujete, mají stejné UID jako spu¹tìný skript' +!ENTITY smuidcheckdir 'Kontroluje, zda adresáø, +ve kterém pracujete, má stejné UID jako spu¹tìný skript' +!ENTITY smdisabled 'Tyto funkce jsou v bezpeèném re¾imu (link +linkend=featuressafe-modesafe-mode/link) deaktivovány'
Re: [PHP-DOC] czech language for php.manual
Thanks for your interest to help with translating. As you can see in the CVS tree (http://cvs.php.net) the current state is following: cs/ - partially translated, URGENT cs/appendices - mostly translated, nearly up-to-date cs/chmonly - nothing done, under processing cs/faq - nothing done cs/features - completely translated, small inconsistencies cs/functions - partially translated (less than 40 %), inconsistent cs/language - a few files translated, inconsistent Thus I recommend you to read http://cvs.php.net/co.php/phpdoc/howto/howto.html.tar.gz and follow those directions. You can translate the original files as well as synchronize the translated ones. Lukas Hi i'm from czech republic. my friend and i use you czech php manual. Translation isn't complete and this is not god. can i help you with czech language for php documentation? i know php, mysql -- Best regards, Jan Kachlik [EMAIL PROTECTED] +-+ ' Kachlik Jan ' ' Security Administrator ' ' InterSource Solutions Group ' ' Mathonova 25, 613 00 Brno CZ' ' Mail: [EMAIL PROTECTED] ' ' GSM: +42 0604 833 331 ' ' ICQ: #56618470 ' ' WebSite: http://www.isgroup.com ' +-+
Re: [PHP-DOC] Czech translators
Thanks, I didn't remember it :-) Yes, it's a good idea. But some of these translators have finished their works and contribute no longer. But as they have CVS users, you can mail them using [EMAIL PROTECTED] and ask ;)
[PHP-DOC] cvs: phpdoc /cs/appendices migration4.xml
luk Sun Mar 3 17:15:07 2002 EDT Modified files: /phpdoc/cs/appendices migration4xml Log: Small bug fixing Index: phpdoc/cs/appendices/migration4xml diff -u phpdoc/cs/appendices/migration4xml:11 phpdoc/cs/appendices/migration4xml:12 --- phpdoc/cs/appendices/migration4xml:11 Sat Mar 2 18:44:41 2002 +++ phpdoc/cs/appendices/migration4xml Sun Mar 3 17:15:06 2002 -173,7 +173,7 soubory pøipojené prostøednictvím require a include nyní musí být syntakticky úplné Ji¾ nelze rozlo¾it rùzné èásti øídicích konstrukcí pøes hranice souborù Tj nelze zaèít cyklus literalfor/literal nebo -literalwhile/literal, vìtvení literalif/literal nebo +literalwhile/literal, vìtvení literalif/literal nebo literalswitch/literal v jednom souboru a ukoèit je (resp pokraèovat pomocí literalelse/literal, literalendif/literal, literalcase/literal nebo literalbreak/literal) v souboru
[PHP-DOC] Czech translators
Who is (except me, of course) currently translating the PHP Documentation to the Czech language? I would like to make a more co-operating team to improve the translation efficiency and reliability. Please mail to [EMAIL PROTECTED] immediatelly. Thanks. Lukas
[PHP-DOC] cvs: phpdoc /cs/features error-handling.xml
luk Tue Feb 26 12:57:16 2002 EDT Added files: /phpdoc/cs/features error-handling.xml Log: Index: phpdoc/cs/features/error-handling.xml +++ phpdoc/cs/features/error-handling.xml ?xml version=1.0 encoding=iso-8859-2? chapter id=features.error-handling titleZpracování chyb/title para V PHP existuje nìkolik druhù chyb a varování. Jsou to: table titleDruhy chyb v PHP/title tgroup cols=4 thead row entryHodnota/entry entryKonstanta/entry entryPopis/entry entryPoznámka/entry /row /thead tbody row entry1/entry entryE_ERROR/entry entryvýznamné (fatální) runtimové chyby/entry entry/entry /row row entry2/entry entryE_WARNING/entry entryruntimová varování (nevýznamné chyby)/entry entry/entry /row row entry4/entry entryE_PARSE/entry entrykompilaèní syntaktické chyby/entry entry/entry /row row entry8/entry entryE_NOTICE /entry entry runtimové zprávy (ménì váné ne varování) /entry entry/entry /row row entry16/entry entryE_CORE_ERROR/entry entryfatální chyby, které se vyskytly bìhem startu PHP/entry entrypouze PHP 4/entry /row row entry32/entry entryE_CORE_WARNING/entry entryvarování bìhem startu PHP/entry entrypouze PHP 4/entry /row row entry64/entry entryE_COMPILE_ERROR/entry entryfatální kompilaèní chyby/entry entrypouze PHP 4/entry /row row entry128/entry entryE_COMPILE_WARNING/entry entrykompilaèní varování (nevýznamné chyby)/entry entryPHP 4 only/entry /row row entry256/entry entryE_USER_ERROR/entry entryuivatelsky generované chybové zprávy/entry entryPHP 4 only/entry /row row entry512/entry entryE_USER_WARNING/entry entryuivatelsky generovaná varování/entry entryPHP 4 only/entry /row row entry1024/entry entryE_USER_NOTICE /entry entryuivatelsky generované informativní zprávy/entry entryPHP 4 only/entry /row row entry/entry entryE_ALL/entry entryvechny z uvedených, které jsou danou verzí PHP podporovány/entry entry/entry /row /tbody /tgroup /table /para para Výe uvedené hodnoty (a ji èíselné nebo symbolické) se pouívají pro sestavení bitové masky, která specifikuje, které chyby se mají oznamovat. Mùete pouívat link linkend=language.operators.bitwisebitové logické operátory/link pro kombinaci hodnot nebo maskování urèitých druhù chyb. Uvìdomte si, e v souboru filenamephp.ini/filename budou správnì interpretovány pouze operátory '|', '~', '!', a 'amp;', a e v filenamephp3.ini/filename nelze pouít ádné z tìchto operátorù. /para para V PHP 4 je jako implicitní hodnota pro link linkend=ini.error-reportingerror_reporting/link nastaveno literalE_ALL amp; ~E_NOTICE/literal, tzn. hláení vech chyb a varování, které nejsou na úrovni E_NOTICE. V PHP 3 je implicitní literal(E_ERROR | E_WARNING | E_PARSE)/literal, co znamená toté. Uvìdomte si, e v souboru filenamephp3.ini/filename nelze pouívat konstanty, a proto nastavení link linkend=ini.error-reportingerror_reporting/link musí být numerické; tedy napøíklad literal7/literal. /para para Iniciální nastavení mùe být v ini souboru zmìnìno direktivou link linkend=ini.error-reportingerror_reporting/link, v serveru Apache v souboru filenamehttpd.conf/filename direktivou php_error_reporting (php3_error_reporting v PHP 3), a koneènì mùe být té nastaveno skriptem za pouití funkce functionerror_reporting/function. /para warning para Pokud upgradujete kód nebo server z PHP 3 na PHP 4, mìli byste ovìøit tato nastavení a volání functionerror_reporting/function anebo potlaèit hláení nových typù chyb, zvlátì E_COMPILE_ERROR. To mùe vést k vyprázdnìní obsahu dokumentù bez jakékoli informace o tom, co se stalo a kde hledat problém. /para /warning para Vechny link linkend=language.expressionsPHP výrazy/link mohou být také volány s prefixem @, který vypíná hláení chyb pro tento jediný výraz. Pokud bìhem provádìní výrazu nastane chyba a volba link linkend=ini.track-errorstrack_errors/link je zapnutá, najdete chybovou zprávu v globální promìnné literal$php_errormsg/literal. /para note para link linkend=language.operators.errorcontrolPrefixovým operátorem øízení chyb @/link nelze potlaèit chybová hláení o syntaktických chybách. /para /note warning para V souèasnosti link linkend=language.operators.errorcontrolprefixový operátor øízení chyb/link v pøípadì
[PHP-DOC] cvs: phpdoc /cs language-snippets.ent /cs/language constants.xml
luk Mon Dec 3 16:12:01 2001 EDT Modified files: /phpdoc/cs language-snippets.ent /phpdoc/cs/language constants.xml Log: only some small corrections Index: phpdoc/cs/language-snippets.ent diff -u phpdoc/cs/language-snippets.ent:1.5 phpdoc/cs/language-snippets.ent:1.6 --- phpdoc/cs/language-snippets.ent:1.5 Thu Jul 12 09:39:52 2001 +++ phpdoc/cs/language-snippets.ent Mon Dec 3 16:12:01 2001 @@ -1,19 +1,19 @@ -!-- PHPDoc snippets $Id: language-snippets.ent,v 1.5 2001/07/12 13:39:52 jeroen Exp $ -- +!-- PHPDoc snippets $Id: language-snippets.ent,v 1.6 2001/12/03 21:12:01 luk Exp $ +-- -!ENTITY warn.experimental 'warningsimparaThis module is emphasisEXPERIMENTAL/emphasis. That means, that the behaviour of these functions, these function names, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this module at your own risk./simpara/warning' -!ENTITY warn.experimental.func 'warningsimparaThis function is emphasisEXPERIMENTAL/emphasis. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk./simpara/warning' +!ENTITY warn.experimental 'warningsimparaTento modul je +emphasisEXPERIMENTÁLNÍ/emphasis. To znamená, ¾e chování tìchto funkcí a jejich +názvy, pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích verzích PHP +mù¾e BEZ OHLÁ©ENÍ zmìnit. Berte to v úvahu a pou¾ívejte tento modul na vlastní +nebezpeèí./simpara/warning' +!ENTITY warn.experimental.func 'warningsimparaTato funkce je +emphasisEXPERIMENTÁLNÍ/emphasis. To znamená, ¾e chování této funkce a její název, +pøesnìji øeèeno COKOLI, co je zde zdokumentováno, se v budoucích verzích PHP mù¾e BEZ +OHLÁ©ENÍ zmìnit. Berte to v úvahu a pou¾ívejte tuto funkci na vlastní +nebezpeèí./simpara/warning' -!ENTITY tip.ob-capture 'tipsimparaAs with anything that outputs its result directly to the browser, you can use the link linkend=ref.outcontroloutput-control functions/link to capture the output of this function, and save it - for example - in a typestring/type./simpara/tip' +!ENTITY tip.ob-capture 'tipsimparaJako pro cokoliv, co posílá své výsledky pøímo +do prohlí¾eèe, mù¾ete pou¾ít link linkend=ref.outcontrolfunkce pro øízení +výstupu/link k zachycení výstupu této funkce a jeho ulo¾ení - napøíklad - do +øetìzce (typestring/type)./simpara/tip' -!ENTITY return.success 'Returns constantTRUE/constant on succes, constantFALSE/constant on failure.' +!ENTITY return.success 'Vrací constantTRUE/constant pøi úspìchu, +constantFALSE/constant pøi selhání.' -!ENTITY note.not-bin-safe 'warningsimparaThis function is not (yet) binary safe!/simpara/warning' +!ENTITY note.not-bin-safe 'warningsimparaTato funkce není (je¹tì) binárnì +bezpeèná!/simpara/warning' -!ENTITY note.bin-safe 'notesimparaThis function is binary-safe/simpara/note' +!ENTITY note.bin-safe 'notesimparaTato funkce je binárnì +bezpeèná./simpara/note' -!ENTITY note.no-windows 'notesimparaThis function is not implemented on Windows-platforms/simpara/note' +!ENTITY note.no-windows 'notesimparaTato funkce není implementována na +platformách Windows./simpara/note' !-- Notes for safe-mode limited functions: -- !ENTITY note.sm.disabled 'notesimparasm.disabled;/simpara/note' Index: phpdoc/cs/language/constants.xml diff -u phpdoc/cs/language/constants.xml:1.6 phpdoc/cs/language/constants.xml:1.7 --- phpdoc/cs/language/constants.xml:1.6Sat Nov 10 16:49:21 2001 +++ phpdoc/cs/language/constants.xmlMon Dec 3 16:12:01 2001 @@ -3,9 +3,9 @@ titleKonstanty/title simpara - PHP definuje nìkolik konstant, a poskytuje mechanismus pro definici dal¹ích + PHP definuje nìkolik konstant a poskytuje mechanismus pro definici dal¹ích za bìhu. Konstanty se hodnì podobají promìnným s výjimkou dvou skuteèností: - konstanty se musí definovat pomocí functiondefine/function function, a + konstanty se musí definovat pomocí funkce functiondefine/function, a nemohou pozdìji nabývat jiných hodnot. /simpara @@ -19,8 +19,8 @@ listitem simpara Název souboru skriptu, který je právì èten. Pokud je pou¾ita v souboru, - který byl include-ován nebo require-ován, obsahuje název include-ovaného, - ne rodièovského souboru. + který byl vlo¾en pomocí include nebo require, obsahuje název vlo¾eného + souboru, nikoli rodièovského. /simpara /listitem /varlistentry @@ -30,8 +30,8 @@ listitem simpara Èíslo øádku ve skriptu, který je právì èten. Pokud je pou¾ita v - include-ovaném nebo require-ovaném souboru, obsahuje pozici v rámci - tohoto souboru. + souboru vlo¾eného pomocí include nebo require, obsahuje pozici + v rámci tohoto souboru. /simpara /listitem /varlistentry @@ -58,7 +58,7
[PHP-DOC] Worm Badtrans
This worm (Badtrans) was delivered here more times. Caution during your work with mail!
[PHP-DOC] cvs: phpdoc /cs/functions filesystem.xml
luk Thu Nov 22 16:54:55 2001 EDT Modified files: /phpdoc/cs/functionsfilesystem.xml Log: The most part of filesystem is translated. Ufff... Index: phpdoc/cs/functions/filesystem.xml diff -u phpdoc/cs/functions/filesystem.xml:1.8 phpdoc/cs/functions/filesystem.xml:1.9 --- phpdoc/cs/functions/filesystem.xml:1.8 Wed Nov 21 19:02:09 2001 +++ phpdoc/cs/functions/filesystem.xml Thu Nov 22 16:54:54 2001 @@ -1883,7 +1883,7 @@ refentry id=function.mkdir refnamediv refnamemkdir/refname -refpurposeMakes directory/refpurpose +refpurposeVytvoøí adresáø/refpurpose /refnamediv refsect1 titlePopis/title @@ -1895,11 +1895,11 @@ /funcprototype /funcsynopsis para - Attempts to create the directory specified by pathname. +Pokusí se vytvoøit adresáø specifikovaný svým názvem. /para -para - Pozn.: you probably want to specify the mode as an - octal number, which means it should have a leading zero. +para + Pozn.: Pravdìpodobnì chcete specifikovat mód jako oktalové èíslo, +potom by v¹ak mìlo zaèínat nulou. informalexample programlisting role=php mkdir (/path/to/my/dir, 0700); @@ -1907,7 +1907,7 @@ /informalexample /para para - Returns true; on success and false; on failure. + Vrací true; pøi úspìchu a false; pøi chybì. /para para Viz také functionrmdir/function. @@ -1918,7 +1918,7 @@ refentry id=function.move-uploaded-file refnamediv refnamemove_uploaded_file/refname -refpurposeMoves an uploaded file to a new location./refpurpose +refpurposePøesune uploadovaný soubor na nové místo/refpurpose /refnamediv refsect1 titlePopis/title @@ -1931,43 +1931,41 @@ /funcsynopsis para - This function is available only in versions of PHP 3 after PHP - 3.0.16, and in versions of PHP 4 after 4.0.2. +tato fuknce je dostupná pouze ve verzích PHP 3 od 3.0.16 a +ve verzích PHP 4 od 4.0.2. /para para - This function checks to ensure that the file designated by - parameterfilename/parameter is a valid upload file (meaning - that it was uploaded via PHP's HTTP POST upload mechanism). If - the file is valid, it will be moved to the filename given by +Tato si ovìøuje, zda soubor identifikovaný názvem + parameterfilename/parameter je platným uploadovaným souborem +(prostøednictvím HTTP POST mechanismu poskytovaného PHP). +Pokud je soubor platný, je pøesunut/pøejmenován na parameterdestination/parameter. /para para - If parameterfilename/parameter is not a valid upload file, - then no action will occur, and - functionmove_uploaded_file/function will return - false;. + Pokud parameterfilename/parameter není platný uploadovaný soubor, +funkce functionmove_uploaded_file/function nic neprovede a + vrátí false;. /para para - If parameterfilename/parameter is a valid upload file, but - cannot be moved for some reason, no action will occur, and - functionmove_uploaded_file/function will return - false;. Additionally, a warning will be issued. + Pokud parameterfilename/parameter je platný uploadovaný soubor, +ale z nìjakého dùvodu nemù¾e být pøesunut, funkce +functionmove_uploaded_file/function nic neprovede a vrátí + false;. Navíc je vygenerováno varování (warning). /para para - This sort of check is especially important if there is any chance - that anything done with uploaded files could reveal their - contents to the user, or even to other users on the same - system. +Tento druh testù je zvlá¹tì dùle¾itý, je-li mo¾nost, + ¾e akce na uploadovaných souborech mù¾e zpøístupnit jejich +obsah u¾ivateli nebo jiným u¾ivatekùm tohoto systému. /para para - Viz také functionis_uploaded_file/function, and the section - link linkend=features.file-uploadHandling file uploads/link - for a simple usage example. + Viz také functionis_uploaded_file/function, a sekce + link linkend=features.file-uploadHandling file uploads/link, + kde je pøíklad jednoduchého pou¾ití. /para /refsect1 /refentry @@ -1975,7 +1973,7 @@ refentry id=function.pclose refnamediv refnamepclose/refname -refpurposeCloses process file pointer/refpurpose +refpurposeZavøe procesový soubor (rouru)/refpurpose /refnamediv refsect1 titlePopis/title @@ -1986,16 +1984,15 @@ /funcprototype /funcsynopsis para - Closes a file pointer to a pipe opened by +Zavøe rouru otevøenou pomocí funkce functionpopen/function. /para para - The file pointer must be valid, and must have been returned by a - successful call to functionpopen/function. + Deskriptor souboru musí být platný a musí ukazovat na
[PHP-DOC] cvs: phpdoc /cs/functions com.xml dir.xml exec.xml filesystem.xml
luk Wed Nov 21 09:37:20 2001 EDT Modified files: /phpdoc/cs/functionscom.xml dir.xml exec.xml filesystem.xml Log: Index: phpdoc/cs/functions/com.xml diff -u phpdoc/cs/functions/com.xml:1.5 phpdoc/cs/functions/com.xml:1.6 --- phpdoc/cs/functions/com.xml:1.5 Sat Nov 10 16:49:20 2001 +++ phpdoc/cs/functions/com.xml Wed Nov 21 09:37:20 2001 @@ -5,8 +5,8 @@ partintro simpara -Tyto funkce jsou dostupné pouze ve Windows verzi PHP. Tyto funkce byly -pøidány v PHP 4. +Tyto funkce jsou dostupné pouze ve Windows verzi PHP. Byly pøidány +v PHP 4. /simpara /partintro @@ -14,7 +14,7 @@ refnamediv refnamecom_load/refname refpurpose - Creates a new reference to a COM component + Vytvoøí nový odkaz na COM komponentu /refpurpose /refnamediv refsect1 @@ -53,7 +53,7 @@ paramdefstring parameterfunction_name/parameter/paramdef paramdefmixed parameter -optionalfunction parameters, .../optional +optionalparametry funkce, .../optional /parameter /paramdef /funcprototype Index: phpdoc/cs/functions/dir.xml diff -u phpdoc/cs/functions/dir.xml:1.6 phpdoc/cs/functions/dir.xml:1.7 --- phpdoc/cs/functions/dir.xml:1.6 Sat Nov 10 16:49:20 2001 +++ phpdoc/cs/functions/dir.xml Wed Nov 21 09:37:20 2001 @@ -153,8 +153,9 @@ /example /para para - V¹imnìte si, ¾e functionreaddir/function vrá¾í také . a - .. polo¾ky. Pokud je nechcete, mù¾ete je snadno vynechat: + V¹imnìte si, ¾e functionreaddir/function vrací také . a + .. polo¾ky (odkaz na sebe sama a na nadøazený adresáø. Pokud je nechcete, + mù¾ete je snadno vynechat: example title Vypi¹ v¹echny soubory v adresáøi a vynech . a .. @@ -178,7 +179,7 @@ refentry id=function.rewinddir refnamediv refnamerewinddir/refname -refpurposerewind directory handle/refpurpose +refpurposenávrat na zaèátek adresáøe/refpurpose /refnamediv refsect1 titlePopis/title @@ -189,9 +190,8 @@ /funcprototype /funcsynopsis para - Resets the directory stream indicated by - parameterdir_handle/parameter to the beginning of the - directory. + Vrací adresáøový proud odkazovaný deskriptorem + parameterdir_handle/parameter na zaèátek adresáøe. /para /refsect1 Index: phpdoc/cs/functions/exec.xml diff -u phpdoc/cs/functions/exec.xml:1.5 phpdoc/cs/functions/exec.xml:1.6 --- phpdoc/cs/functions/exec.xml:1.5Sat Nov 10 16:49:20 2001 +++ phpdoc/cs/functions/exec.xmlWed Nov 21 09:37:20 2001 @@ -6,7 +6,7 @@ refentry id=function.escapeshellarg refnamediv refnameescapeshellarg/refname -refpurposeescape a string to be used as a shell argument/refpurpose +refpurposeouvozovkování øetìzce pro pou¾ití jako argument shellu/refpurpose /refnamediv refsect1 titlePopis/title Index: phpdoc/cs/functions/filesystem.xml diff -u phpdoc/cs/functions/filesystem.xml:1.6 phpdoc/cs/functions/filesystem.xml:1.7 --- phpdoc/cs/functions/filesystem.xml:1.6 Sat Nov 10 16:49:20 2001 +++ phpdoc/cs/functions/filesystem.xml Wed Nov 21 09:37:20 2001 @@ -6,7 +6,7 @@ refentry id=function.basename refnamediv refnamebasename/refname -refpurposeVrátit èást cesty obsahující název souboru/refpurpose +refpurposeVrátí èást cesty obsahující název souboru/refpurpose /refnamediv refsect1 titlePopis/title @@ -20,7 +20,7 @@ Pøijímá øetìzec obsahující cestu na soubor, vrací název souboru. /para para - Na Windows, se jako oddìlovaè cesty dá pou¾ít jak lomítko + Na Windows se jako oddìlovaè cesty dá pou¾ít jak lomítko (literal//literal), tak zpìtné lomítko (literal\/literal). V ostatních prostøedích je to normální lomítko (literal//literal). /para @@ -42,7 +42,7 @@ refentry id=function.chgrp refnamediv refnamechgrp/refname -refpurposeZmìnit skupinou souboru/refpurpose +refpurposeZmìnit skupinu souboru/refpurpose /refnamediv refsect1 titlePopis/title @@ -121,7 +121,7 @@ refentry id=function.chown refnamediv refnamechown/refname -refpurposeZmìnit majitele souboru/refpurpose +refpurposeZmìní vlastníka souboru/refpurpose /refnamediv refsect1 titlePopis/title @@ -165,8 +165,8 @@ /funcsynopsis para Volání systémových funkcí systemitemstat/systemitem èi - systemitemlstat/systemitem má docela velkou re¾ii. Tudí¾ se výsledek - posledního volání v¹ech status funkcí (viz seznam ní¾e) ukládá pro pou¾ití + systemitemlstat/systemitem má pomìrnì velkou re¾ii. Tudí¾ se výsledek + posledního volání v¹ech stavových funkcí (viz seznam ní¾e) ukládá pro pou¾ití pøi dal¹ím takovém volání pou¾ívajícím stejný název souboru. Pokud chcete vynutit novou kontrolu stavu, napø. pokud je soubor kontrolován mnohokrát a mù¾e se zmìnit nebo zmizet, pou¾ijte
[PHP-DOC] cvs: phpdoc /cs/functions filesystem.xml
luk Wed Nov 21 19:02:11 2001 EDT Modified files: /phpdoc/cs/functionsfilesystem.xml Log: Index: phpdoc/cs/functions/filesystem.xml diff -u phpdoc/cs/functions/filesystem.xml:1.7 phpdoc/cs/functions/filesystem.xml:1.8 --- phpdoc/cs/functions/filesystem.xml:1.7 Wed Nov 21 09:37:20 2001 +++ phpdoc/cs/functions/filesystem.xml Wed Nov 21 19:02:09 2001 @@ -55,7 +55,7 @@ /funcsynopsis para Pokusí se nastavit skupinu souboru parameterfilename/parameter na - parametergroup/parameter. Pouze superuser mù¾e libovolnì zmìnit + parametergroup/parameter. Pouze superu¾ivatel mù¾e libovolnì zmìnit skupinu souboru; ostatní u¾ivatelé mohou zmìnit skupinu souboru na jinou skupinu, jí¾ jsou èleny. /para @@ -133,8 +133,8 @@ /funcprototype /funcsynopsis para - Pokusí se zmìnit majitele souboru na parameteruser/parameter. Pouze - superuser mù¾e zmìnit majitele souboru. + Pokusí se zmìnit vlastníka souboru na parameteruser/parameter. Pouze + superu¾ivatel mù¾e zmìnit majitele souboru. /para para Pøi úspìchu vrací true;, jinak false;. @@ -1136,7 +1136,7 @@ /para para example - titlefunctionfopen/function example/title + titlefunctionfopen/function pøíklad/title programlisting role=php $fp = fopen (/home/rasmus/file.txt, r); $fp = fopen (/home/rasmus/file.gif, wb); @@ -1146,14 +1146,14 @@ /example /para simpara - If you are experiencing problems with reading and writing to - files and you're using the server module version of PHP, remember - to make sure that the files and directories you're using are - accessible to the server process. +Pokud jste zaznamenali problémy se ètením a zápisem do souborù +a pou¾íváte PHP jako modul do serveru, nezapomeòte zajistit, aby +soubory a adresáøe, které pou¾íváte, byly pøístupné pro serverový +proces. /simpara para - On the Windows platform, be careful to escape any backslashes - used in the path to the file, or use forward slashes. +Na Windows je tøeba oescapovat v¹echna zpìtná lomítka ve specifikaci +cesty k souboru nebo pou¾ívat obyèejná (dopøedná) lomítka. informalexample programlisting role=php $fp = fopen (c:\\data\\info.txt, r); @@ -1163,7 +1163,7 @@ simpara Viz také functionfclose/function, functionfsockopen/function, - functionsocket_set_timeout/function, and + functionsocket_set_timeout/function, a functionpopen/function. /simpara /refsect1 @@ -1173,7 +1173,7 @@ refnamediv refnamefpassthru/refname refpurpose - Output all remaining data on a file pointer +Vypí¹e v¹echna zbývající data v souboru /refpurpose /refnamediv refsect1 @@ -1185,28 +1185,28 @@ /funcprototype /funcsynopsis simpara - Reads to EOF on the given file pointer and writes the results to - standard output. +Ète a¾ do dosa¾ení konce souboru specifikovaného deskriptorem a +naètené pøepisuje na standardní výstup. /simpara simpara - If an error occurs, functionfpassthru/function returns - false;. + Pokud nastane chyba, funkce functionfpassthru/function + vrací false;. /simpara simpara - The file pointer must be valid, and must point to a file - successfully opened by functionfopen/function, - functionpopen/function, or functionfsockopen/function. - The file is closed when functionfpassthru/function is done - reading it (leaving parameterfp/parameter useless). +Deskriptor souboru musí být platný a musí ukazovat na soubor + úspì¹nì otevøený pomocí functionfopen/function, + functionpopen/function, nebo functionfsockopen/function. + A¾ funkce functionfpassthru/function ukonèí ètení, zavøe soubor + (deskriptor parameterfp/parameter tím ztrácí smysl). /simpara simpara - If you just want to dump the contents of a file to stdout you may - want to use the functionreadfile/function, which saves you - the functionfopen/function call. +Kdy¾ chcete vypsat obsah souboru na standardní výstup (stdout), +mù¾ete pou¾í funkci functionreadfile/function, která vás + u¹etøí volání funkce functionfopen/function. /simpara simpara Viz také functionreadfile/function, - functionfopen/function, functionpopen/function, and + functionfopen/function, functionpopen/function, a functionfsockopen/function /simpara /refsect1 @@ -1215,7 +1215,7 @@ refentry id=function.fputs refnamediv refnamefputs/refname -refpurposeWrites to a file pointer/refpurpose +refpurposeZapí¹e do souboru/refpurpose /refnamediv refsect1 titlePopis/title @@ -1232,10 +1232,10 @@ /funcprototype /funcsynopsis para - functionfputs/function is an alias to -