mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-03 05:41:37 +01:00
- updated for 2.6.3
- updates for new build system - added missing files - corrections from users - revcheck comments for all files - big up to didou and nuno, brilliant work - make test: ok - make: ok
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.2 Maintainer: andreas Status: ready -->
|
||||
<sect1 id="plugins.writing">
|
||||
<title>Plugins schreiben</title>
|
||||
<para>
|
||||
@@ -18,7 +19,12 @@
|
||||
folgender Weg gewählt werden, um das benötigte Plugin zu laden:
|
||||
</para>
|
||||
<programlisting>
|
||||
require_once $smarty->_get_plugin_filepath('function', 'html_options');</programlisting>
|
||||
<![CDATA[
|
||||
<?php
|
||||
require_once $smarty->_get_plugin_filepath('function', 'html_options');
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
Das Smarty Objekt wird jedem Plugin immer als letzter Parameter
|
||||
übergeben (ausser bei Variablen-Modifikatoren und bei Blücken wird
|
||||
@@ -44,4 +50,4 @@ 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