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

Procedural File: function.eaCheckBox.php

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

Page Details

smarty function plugin to produce checkbox tags

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.eaCheckBox.php 99 2007-07-29 14:10:07Z m2mtech $
License:  GNU General Public License Version 2
Copyright:  2007 m2m server software gmbh
Author:  m2mtech <tech@m2m.at>
Functions
smarty_function_eacheckbox  [line 44]

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

Smarty {eaCheckBox} plugin

creates <input type="checkbox" /> fields from {eaCheckBox} constructs extends html_checkboxes

  • existing {$data['NAME']} -> used for selection
  • existing {$error['NAME']} -> <... class="error" />
  • existing {#helpNAME#} -> <... title="{#helpNAME#}" />
  • existing {#labelNAME#} -> <label for="NAME">{#labelNAME#}</label>...
  • values are created from $opt['NAME'] & config files

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


[ Top ]


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