downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the Git repository for this website on git.php.net.

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> &mdash; <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">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;Clase&nbsp;de&nbsp;prueba<br /></span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">ClaseDePrueba&nbsp;</span><span style="color: #007700">{&nbsp;}<br /><br /></span><span style="color: #0000BB">$rc&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</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&nbsp;</span><span style="color: #0000BB">$rc</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getEndLine</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</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&uacute;mero de linea de inicio</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites