ea-Geiercode-base-smarty
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Procedural File: function.eaSubmitButton.php

Source Location: /code/base/smartyplugins/function.eaSubmitButton.php

Page Details

smarty function plugin to produce submit buttons

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Link:  http://www.ea-geier.at/
Filesource:  Source Code for this file
Version:  $Id: function.eaSubmitButton.php 77 2007-06-04 04:50:15Z m2mtech $
License:  GNU General Public License Version 2
Copyright:  2007 m2m server software gmbh
Author:  m2mtech <tech@m2m.at>
Functions
smarty_function_easubmitbutton  [line 41]

string smarty_function_easubmitbutton( array $params, Smarty &$smarty  )

Smarty {eaSubmitButton} plugin

creates <input type="submit" /> fields from {eaSubmitButton} constructs

  • {eaSubmitButton name=NAME} ->
<input type="submit" name="NAME" ... class="submit" />
  • !existing {#NAME#} -> ...<input ... value="submit" />
  • existing {#NAME#} -> ...<input ... value="{#NAME#}" />

Parameters:
array   $params:  function parameters
  • name input name mandatory
Smarty   &$smarty: 


[ Top ]


Documentation generated on Sun, 09 Sep 2007 17:08:46 +0200 by phpDocumentor 1.3.1