Location: PHPKode > scripts > SA PHP Framework > sa/doc/html/modifier_8indent_8php-source.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SA PHP Application Framework: public_html/sa-v_0_3/lib/Smarty-2.6.14/libs/plugins/modifier.indent.php Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
  </ul></div>
<h1>public_html/sa-v_0_3/lib/Smarty-2.6.14/libs/plugins/modifier.indent.php</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php
<a name="l00023"></a>00023 function smarty_modifier_indent($string,$chars=4,$char=<span class="stringliteral">" "</span>)
<a name="l00024"></a>00024 {
<a name="l00025"></a>00025     <span class="keywordflow">return</span> preg_replace('!^!m',str_repeat($char,$chars),$string);
<a name="l00026"></a>00026 }
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 18 17:46:25 2006 for SA PHP Application Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>
Return current item: SA PHP Framework