Source of: /manual/es/reflectionclass.getendline.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.reflectionclass.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'es',
),
'this' =>
array (
0 => 'reflectionclass.getendline.php',
1 => 'ReflectionClass::getEndLine',
),
'up' =>
array (
0 => 'class.reflectionclass.php',
1 => 'ReflectionClass',
),
'prev' =>
array (
0 => 'reflectionclass.getdoccomment.php',
1 => 'ReflectionClass::getDocComment',
),
'next' =>
array (
0 => 'reflectionclass.getextension.php',
1 => 'ReflectionClass::getExtension',
),
'alternatives' =>
array (
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="reflectionclass.getendline" class="refentry">
<div class="refnamediv">
<h1 class="refname">ReflectionClass::getEndLine</h1>
<p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">ReflectionClass::getEndLine</span> — <span class="dc-title">Consultar línea final</span></p>
</div>
<div class="refsect1 description" id="refsect1-reflectionclass.getendline-description">
<h3 class="title">Descripción</h3>
<div class="methodsynopsis dc-description">
<span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><strong>ReflectionClass::getEndLine</strong></span>
( <span class="methodparam">void</span>
)</div>
<p class="para rdfs-comment">
Devuelve el número de la línea final de una clase definida por el usuario.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-reflectionclass.getendline-parameters">
<h3 class="title">Parámetros</h3>
<p class="para">Esta función no tiene parámetros.</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-reflectionclass.getendline-returnvalues">
<h3 class="title">Valores devueltos</h3>
<p class="para">
Número de la línea final de la clase definida por el usuario, o <strong><code>FALSE</code></strong> si fuera desconocida.
</p>
</div>
<div class="refsect1 examples" id="refsect1-reflectionclass.getendline-examples">
<h3 class="title">Ejemplos</h3>
<p class="para">
<div class="example" id="example-5054">
<p><strong>Ejemplo #1 Ejemplo de <span class="methodname"><strong>ReflectionClass::getEndLine()</strong></span></strong></p>
<div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">// Clase de prueba<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">ClaseDePrueba </span><span style="color: #007700">{ }<br /><br /></span><span style="color: #0000BB">$rc </span><span style="color: #007700">= new </span><span style="color: #0000BB">ReflectionClass</span><span style="color: #007700">(</span><span style="color: #DD0000">'ClaseDePrueba'</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">$rc</span><span style="color: #007700">-></span><span style="color: #0000BB">getEndLine</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?></span>
</span>
</code></div>
</div>
<div class="example-contents"><p>El resultado del ejemplo sería:</p></div>
<div class="example-contents screen">
<div class="cdata"><pre>
3
</pre></div>
</div>
</div>
</p>
</div>
<div class="refsect1 seealso" id="refsect1-reflectionclass.getendline-seealso">
<h3 class="title">Ver también</h3>
<p class="para">
<ul class="simplelist">
<li class="member"> <span class="methodname"><a href="reflectionclass.getstartline.php" class="methodname" rel="rdfs-seeAlso">ReflectionClass::getStartLine()</a> - Obtiene el número de linea de inicio</span></li>
</ul>
</p>
</div>
</div><?php manual_footer(); ?>