Overview

Packages

  • awl
    • AuthPlugin
    • AwlDatabase
    • Browser
    • classEditor
    • DataEntry
    • DataUpdate
    • EMail
    • iCalendar
    • MenuSet
    • PgQuery
    • Session
    • Translation
    • User
    • Utilities
    • Validation
    • vCalendar
    • vComponent
    • XMLDocument
    • XMLElement
  • None

Classes

  • PgQuery

Functions

  • awl_replace_sql_args
  • clean_string
  • connect_configured_database
  • duration
  • qpg
  • Overview
  • Package
  • Function

Function clean_string

Clean a string of many suspicious characters

While this is a fairly aggressive approach, it applies in many circumstances where various strings should not contain things that might screw up (e.g.) filesystem semantics. Although not strictly a PgQuery function it's here for the time being until I invent a new "generally useful functions" include.

Package: awl\PgQuery
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU GPL v2 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at PgQuery.php
Parameters summary
string $unclean The dirty filthy string needing washing.
$type = 'full'
Return value summary
string The pristine uncontaminated string we can safely use for Just About Anything(tm).
API documentation generated by ApiGen