mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-06 07:11:37 +01:00
spanish docs initial commit
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry id="api.register.compiler.function">
|
||||
<refnamediv>
|
||||
<refname>register_compiler_function</refname>
|
||||
<refpurpose></refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title />
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>register_compiler_function</methodname>
|
||||
<methodparam><type>string</type><parameter>name</parameter></methodparam>
|
||||
<methodparam><type>mixed</type><parameter>impl</parameter></methodparam>
|
||||
<methodparam><type>bool</type><parameter>cacheable</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Use esto para registrar din<69>micamente una funci<63>n compiladora
|
||||
de plugin. Pase el nombre de la funci<63>n compiladora, seguido
|
||||
por la funci<63>n PHP que implemente esto.
|
||||
</para>
|
||||
<para>
|
||||
La llamada a la funcion-php <parameter>impl</parameter> puede ser
|
||||
(a) una cadena conteniendo el nombre de la funci<63>n o
|
||||
(b) un arreglo en el formato
|
||||
<literal>array(&$object, $method)</literal> con
|
||||
<literal>&$object</literal> siendo una referencia para
|
||||
un objeto y <literal>$method</literal> siendo una cadena conteniendo
|
||||
el nombre del m<>todo o
|
||||
(c) un arreglo en el formato
|
||||
<literal>array(&$class, $method)</literal> con
|
||||
<literal>$class</literal> siendo un nombre de
|
||||
clase y <literal>$method</literal> siendo el m<>todo de esta clase.
|
||||
</para>
|
||||
<para>
|
||||
<parameter>cacheable</parameter> puede ser omitido en la mayoria
|
||||
de los casos.
|
||||
Vea <link linkend="caching.cacheable">Controlando modos de Salida de
|
||||
Cache de los Plugins</link> para obtener mayor informaci<63>n.
|
||||
</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
|
||||
-->
|
||||
Reference in New Issue
Block a user