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

Procedural File: csv.html.php

Source Location: /code/csv.html.php

Page Details

smarty functions for csv export

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: csv.html.php 144 2007-09-04 11:38:15Z m2mtech $
License:  GNU General Public License Version 2
Copyright:  2007 m2m server software gmbh
Author:  m2mtech <tech@m2m.at>
Functions
eaPrepareCVSSmarty  [line 34]

void eaPrepareCVSSmarty( eaSmarty &$smarty, string $filename, [boolean $noHeader = false]  )

prepares smarty for CSV export

Parameters:
eaSmarty   &$smarty:  template object
string   $filename:  name of CSV file
boolean   $noHeader:  send no header info


[ Top ]
eaPrepareCVSSmartyModEnquote  [line 59]

string eaPrepareCVSSmartyModEnquote( string $string  )

enquotes fields containing special charactors

Parameters:
string   $string:  field content

API Tags:
Return:  quoted field


[ Top ]
eaPrepareCVSSmartyModEnquoteNegative  [line 72]

string eaPrepareCVSSmartyModEnquoteNegative( string $string  )

enquotes fields containing special charactors and add a minus sign

Parameters:
string   $string:  field content

API Tags:
Return:  quoted field


[ Top ]
eaPrepareCVSSmartyPre  [line 87]

string eaPrepareCVSSmartyPre( string $tpl_source, &$smarty  )

prepare template for CSV export

places new-line & delimiter variables changes variables in foreach fields due to problem with default modifiers

Parameters:
string   $tpl_source:  field content
   &$smarty: 

API Tags:
Return:  quoted field


[ Top ]


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