cvs: phpdoc-sk /reference/classobj/functions call-user-method-array.xml call-user-method.xml class-exists.xml get-class-methods.xml get-class-vars.xml get-class.xml get-declared-classes.xml get-object-vars.xml get-parent-class.xml is-a.xml is-subclass-of.xml method-exists.xml
[email protected] ("Joseph Drake")
| Newsgroups | php.doc.sk |
|---|---|
| Message-ID | <cvsjoseph1046817764@cvsserver> |
joseph Tue Mar 4 17:42:44 2003 EDT
Added files:
/phpdoc-sk/reference/classobj/functions call-user-method-array.xml
call-user-method.xml
class-exists.xml
get-class-methods.xml
get-class-vars.xml
get-class.xml
get-declared-classes.xml
get-object-vars.xml
get-parent-class.xml
is-a.xml is-subclass-of.xml
method-exists.xml
Log:
new one
joseph-20030304174244.txt
(text/plain, 24.5 KB)
Index: phpdoc-sk/reference/classobj/functions/call-user-method-array.xml
+++ phpdoc-sk/reference/classobj/functions/call-user-method-array.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.36 -->
<refentry id="function.call-user-method-array">
<refnamediv>
<refname>call_user_method_array</refname>
<refpurpose>
Zavola» u¾ívateµovu metódu danú s poµom parametrov [odmietané]
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>mixed</type><methodname>call_user_method_array</methodname>
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
<methodparam><type>object</type><parameter>obj</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>paramarr</parameter></methodparam>
</methodsynopsis>
<warning>
<para>
Funkcia <function>call_user_method_array</function> sa odmieta od
PHP 4.1.0, rad¹ej pou¾ívajte <function>call_user_func_array</function>
variáciu so syntaxom <literal>array(&$obj, "method_name")</literal>.
</para>
</warning>
<para>
Volá metódu odkazovanú cez <parameter>method_name</parameter> z
u¾ívateµom definovaného objektu <parameter>obj</parameter>, pomocou
parametrov v <parameter>paramarr</parameter>.
</para>
<para>
Tie¾ pozri:
<function>call_user_func_array</function>,
<function>call_user_func</function>,
<function>call_user_method</function>.
</para>
<note>
<para>
Táto funkcia bola pridaná do CVS kódu po vydaní PHP 4.0.4pl1
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/call-user-method.xml
+++ phpdoc-sk/reference/classobj/functions/call-user-method.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.4 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.4 -->
<refentry id="function.call-user-method">
<refnamediv>
<refname>call_user_method</refname>
<refpurpose>
Zavola» u¾ívateµskú metódu na urèený objekt [odmietané]
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>mixed</type><methodname>call_user_method</methodname>
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
<methodparam><type>object</type><parameter>obj</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>parameter</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<warning>
<para>
Funkcia <function>call_user_method</function> je odmietaná od
PHP 4.1.0, rad¹ej pou¾ívajte <function>call_user_func</function>
variáciu so syntaxom <literal>array(&$obj, "method_name")</literal>.
</para>
</warning>
<para>
Volá metódu odkazovanú pomocou <parameter>method_name</parameter> z
u¾ívateµom definovaného <parameter>obj</parameter> objektu. Príklad
pou¾itia je uvedený ni¾¹ie, kde definujeme triedu, in¹tnacujeme
objekt a pou¾ívame <function>call_user_method</function> na nepriame
volanie jej <varname>print_info</varname> metódy.
<informalexample>
<programlisting role="php">
<![CDATA[
<?php
class Krajina {
var $NAZOV;
var $TLD;
function Krajina($nazov, $tld) {
$this->NAZOV = $nazov;
$this->TLD = $tld;
}
function vypis_info($prestr="") {
echo $prestr."Krajina: ".$this->NAZOV."\n";
echo $prestr."Top Level Domena: ".$this->TLD."\n";
}
}
$cntry = new Krajina("Peru","pe");
echo "* Priame volanie metody objektu\n";
$cntry->vypis_info();
echo "\n* Nepriame volanie rovnakej metody objektu\n";
call_user_method ("vypis_info", $cntry, "\t");
?>
]]>
</programlisting>
</informalexample>
</para>
<simpara>
Tie¾ pozri <function>call_user_func_array</function>,
<function>call_user_func</function> a
<function>call_user_method_array</function>.
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/class-exists.xml
+++ phpdoc-sk/reference/classobj/functions/class-exists.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.11 -->
<refentry id="function.class-exists">
<refnamediv>
<refname>class_exists</refname>
<refpurpose>Zis»uje, èi bola trieda definovaná</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>bool</type><methodname>class_exists</methodname>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vracia &true; ak bola trieda, udaná ako
<parameter>class_name</parameter>, definovaná, inak
&false;.
</para>
<simpara>
Tie¾ pozri <function>get_declared_classes</function>.
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/get-class-methods.xml
+++ phpdoc-sk/reference/classobj/functions/get-class-methods.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.2 -->
<refentry id="function.get-class-methods">
<refnamediv>
<refname>get_class_methods</refname>
<refpurpose>Vracia pole názvov metód triedy</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>array</type><methodname>get_class_methods</methodname>
<methodparam><type>mixed</type><parameter>class_name</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vracia pole názvov metód definovaných pre triedu
urèenú pomocou <parameter>class_name</parameter>.
</para>
<note>
<para>
Od PHP 4.0.6 mo¾ete namiesto <parameter>class_name</parameter>
urèi» samotný objekt. Na príklad:
<informalexample>
<programlisting>
<![CDATA[
$metody_triedy = get_class_methods($moja_trieda); // pozri uplny priklad nizsie
]]>
</programlisting>
</informalexample>
</para>
</note>
<para>
<example>
<title><function>get_class_methods</function> príklad</title>
<programlisting role="php">
<![CDATA[
<?php
class myclass {
// konstruktor
function myclass() {
return(TRUE);
}
// metoda 1
function myfunc1() {
return(TRUE);
}
// metoda 2
function myfunc2() {
return(TRUE);
}
}
$my_object = new myclass();
$class_methods = get_class_methods(get_class($my_object));
foreach ($class_methods as $method_name) {
echo "$method_name\n";
}
?>
]]>
</programlisting>
</example>
</para>
<para>
Vyprodukuje:
<informalexample>
<programlisting>
<![CDATA[
myclass
myfunc1
myfunc2
]]>
</programlisting>
</informalexample>
</para>
<simpara>
Tie¾ pozri <function>get_class_vars</function> a
<function>get_object_vars</function>.
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/get-class-vars.xml
+++ phpdoc-sk/reference/classobj/functions/get-class-vars.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.4 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -->
<refentry id="function.get-class-vars">
<refnamediv>
<refname>get_class_vars</refname>
<refpurpose>
Vracia pole východzích vlastností triedy
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>array</type><methodname>get_class_vars</methodname>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vráti asociatívne pole východzích vlastností
triedy. Výsledné prvky poµa sú vo forme
<parameter>varname => value</parameter>.
</para>
<note>
<para>
Pred PHP 4.2.0 sa neinicializované premenné triedy neoznamujú pomocou
<function>get_class_vars</function>.
</para>
</note>
<para>
<example>
<title><function>get_class_vars</function> príklad</title>
<programlisting role="php">
<![CDATA[
<?php
class myclass {
var $var1; // tato nema vychodziu hodnotu...
var $var2 = "xyz";
var $var3 = 100;
// konstruktor
function myclass() {
return(TRUE);
}
}
$my_class = new myclass();
$class_vars = get_class_vars(get_class($my_class));
foreach ($class_vars as $name => $value) {
echo "$name : $value\n";
}
?>
]]>
</programlisting>
</example>
</para>
<para>
Vyprodukujee:
<informalexample>
<programlisting>
<![CDATA[
// Pred PHP 4.2.0
var2 : xyz
var3 : 100
// Od PHP 4.2.0
var1 :
var2 : xyz
var3 : 100
]]>
</programlisting>
</informalexample>
</para>
<simpara>
Tie¾ pozri <function>get_class_methods</function>,
<function>get_object_vars</function>
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/get-class.xml
+++ phpdoc-sk/reference/classobj/functions/get-class.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.4 -->
<refentry id="function.get-class">
<refnamediv>
<refname>get_class</refname>
<refpurpose>Vracia názov triedy objektu</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>get_class</methodname>
<methodparam><type>object</type><parameter>obj</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vracia názov triedy, ktorej je objekt
<parameter>obj</parameter> in¹tanciou. Vracia
&false; ak <parameter>obj</parameter> nie je objekt.
</para>
<note>
<simpara>
<function>get_class</function> vracia názov u¾ívateµom definovanej
triedy v lowercase. Trieda definovaná v PHP roz¹írení je vrátená
vo svojom pôvodnom zápise.
</simpara>
</note>
<simpara>
Tie¾ pozri <function>get_parent_class</function>,
<function>gettype</function> a
<function>is_subclass_of</function>.
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/get-declared-classes.xml
+++ phpdoc-sk/reference/classobj/functions/get-declared-classes.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.11 -->
<refentry id="function.get-declared-classes">
<refnamediv>
<refname>get_declared_classes</refname>
<refpurpose>Vracia pole s názvami definovaných tried</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>array</type><methodname>get_declared_classes</methodname>
<void/>
</methodsynopsis>
<para>
Táto funkcia vracia pole názvov deklarovaných tried v aktuálnom
skripte.
</para>
<note>
<para>
V PHP 4.0.1pl2 sa na zaèiatku poµa vracajú tri extra triedy:
<classname>stdClass</classname> (definovaná v
<filename>Zend/zend.c</filename>),
<classname>OverloadedTestClass</classname> (definovaná v
<filename>ext/standard/basic_functions.c</filename>)
a <classname>Directory</classname>
(definovaná v <filename>ext/standard/dir.c</filename>).
</para>
<para>
Tie¾ poznamenajme, ¾e závisiac na kni¾niciach, ktoré kompilovali
do PHP, mô¾u by» prítomné doplnkové triedy. To znamená, ¾e
nebudete môc» definova» svoje vlastné triedy pomocou týchto
názvov. V sekcii dodatkov <link
linkend="reserved.classes">Preddefinované triedy</link> je zoznam
preddefinovaných tried.
</para>
</note>
<simpara>
Tie¾ pozri <function>class_exists</function>.
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/get-object-vars.xml
+++ phpdoc-sk/reference/classobj/functions/get-object-vars.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -->
<refentry id="function.get-object-vars">
<refnamediv>
<refname>get_object_vars</refname>
<refpurpose>Vracia asociatívne pole vlastností objektu</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>array</type><methodname>get_object_vars</methodname>
<methodparam><type>object</type><parameter>obj</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vracia asociatívne pole vlastností definovaného objektu
pre urèený objekt <parameter>obj</parameter>.
</para>
<note>
<para>
Vo verziách star¹ích ne¾ PHP 4.2.0, ak premenným deklarovaným v triede,
v ktorej je <parameter>obj</parameter> in¹tanciou, neboli priradené
hodnoty, tak tie sa v poli potom nevrátia. V nov¹ích verziách ne¾ je
PHP 4.2.0, sa kµúèu priradí hodnota <constant>NULL</constant>.
</para>
</note>
<para>
<example>
<title>Pou¾itie <function>get_object_vars</function></title>
<programlisting role="php">
<![CDATA[
<?php
class Point2D {
var $x, $y;
var $label;
function Point2D($x, $y) {
$this->x = $x;
$this->y = $y;
}
function setLabel($label) {
$this->label = $label;
}
function getPoint() {
return array("x" => $this->x,
"y" => $this->y,
"label" => $this->label);
}
}
// "$label" je deklarovany, ale nedefinovany
$p1 = new Point2D(1.233, 3.445);
print_r(get_object_vars($p1));
$p1->setLabel("point #1");
print_r(get_object_vars($p1));
?>
]]>
</programlisting>
</example>
Výpisom horeuvedeného programu bude:
<screen>
<![CDATA[
Array
(
[x] => 1.233
[y] => 3.445
[label] =>
)
Array
(
[x] => 1.233
[y] => 3.445
[label] => point #1
)
]]>
</screen>
</para>
<simpara>
Tie¾ pozri <function>get_class_methods</function> a
<function>get_class_vars</function>!
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/get-parent-class.xml
+++ phpdoc-sk/reference/classobj/functions/get-parent-class.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.4 -->
<refentry id="function.get-parent-class">
<refnamediv>
<refname>get_parent_class</refname>
<refpurpose>Vracia názov rodièovskej triedy pre objekt alebo triedu</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>get_parent_class</methodname>
<methodparam><type>mixed</type><parameter>obj</parameter></methodparam>
</methodsynopsis>
<para>
Ak je <parameter>obj</parameter> objekt, vracia sa názov rodièovskej
triedy, ktorej je <parameter>obj</parameter> in¹tanciou.
</para>
<para>
Ak je <parameter>obj</parameter> je re»azec, vracia sa názov rodièovskej
triedy s tým názvom. Táto funkènos» bola pridaná v PHP 4.0.5.
</para>
<simpara>
Tie¾ pozri <function>get_class</function> a
<function>is_subclass_of</function>
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/is-a.xml
+++ phpdoc-sk/reference/classobj/functions/is-a.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.33 -->
<refentry id="function.is-a">
<refnamediv>
<refname>is_a</refname>
<refpurpose>
Vracia &true; ak je objekt tejto triedy alebo má túto triedu ako
jedného zo svojich rodièov
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>bool</type><methodname>is_a</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vracia &true; ak je objekt tejto triedy alebo má
túto triedu ako jedného zo svojich rodièov, inak &false;.
</para>
<simpara>
Tie¾ pozri <function>get_class</function>,
<function>get_parent_class</function> a
<function>is_subclass_of</function>.
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/is-subclass-of.xml
+++ phpdoc-sk/reference/classobj/functions/is-subclass-of.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.4 -->
<refentry id="function.is-subclass-of">
<refnamediv>
<refname>is_subclass_of</refname>
<refpurpose>
Vracia &true; ak má objekt túto triedu ako jedného zo svojich rodièov
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>bool</type><methodname>is_subclass_of</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vracia &true; ak objekt
<parameter>object</parameter> patrí do triedy, ktorá je
podtriedou <parameter>class_name</parameter>, inak &false;.
</para>
<simpara>
Tie¾ pozri <function>get_class</function>,
<function>get_parent_class</function> a
<function>is_a</function>.
</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:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/classobj/functions/method-exists.xml
+++ phpdoc-sk/reference/classobj/functions/method-exists.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.9 -->
<refentry id="function.method-exists">
<refnamediv>
<refname>method_exists</refname>
<refpurpose>Zis»uje, èi metóda triedy existuje</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>bool</type><methodname>method_exists</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia vracia &true; ake metóda udaná ako
<parameter>method_name</parameter> bola definovaná pre daný
<parameter>object</parameter>, inak &false;.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->