Zikula_Core
[ class tree: Zikula_Core ] [ index: Zikula_Core ] [ all elements ]

Procedural File: legacy.php

Source Location: /includes/legacy/legacy.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: legacy.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








check_html [line 106]

void check_html( $str, [ $strip = ''])

Checks allowed HTML in a string



Parameters

   $str  
   $strip  
[ Top ]



check_words [line 213]

void check_words( $message)

Check string for censored words



Parameters

   $message  
[ Top ]



csssafe [line 226]

void csssafe( [ $checkArg = "op"], [ $checkReferer = true])

cross site scripting check



Parameters

   $checkArg  
   $checkReferer  
[ Top ]



delQuotes [line 21]

void delQuotes( $string)

Delete quotes in a string



Parameters

   $string  
[ Top ]



filter_text [line 161]

void filter_text( $Message, [ $strip = ""])

Filter text through both censor and allowed HTML



Parameters

   $Message  
   $strip  
[ Top ]



FixQuotes [line 93]

string FixQuotes( [$what $what = ""])

Fixes quoting on a string

This function replaces all single single quotes with double single quotes (' becomes '') and all occurrences of \' with '.




Tags:

return:  The fixed string
author:  ?


Parameters

$what   $what   string The string to be fixed
[ Top ]



formatTimestamp [line 173]

void formatTimestamp( $time)

formatting stories



Parameters

   $time  
[ Top ]



myTextForm [line 235]

void myTextForm( $url, $value, [ $useTable = false], [ $extraname = "postnuke"])

Create basic text form



Parameters

   $url  
   $value  
   $useTable  
   $extraname  
[ Top ]



PN_DBMsgError [line 253]

void PN_DBMsgError( [ $db = ''], [ $prg = ''], [ $line = 0], [ $message = 'Error Accesing the Database'])

Error message due a ADODB SQL error and die



Parameters

   $db  
   $prg  
   $line  
   $message  
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:47:32 +0200 by phpDocumentor 1.4.1