Path

ez components / documentation / api reference / 1.1 / database


eZ Components 1.1

Database: ezcQuerySqliteFunctions

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcQuerySqliteFunctions

The ezcQueryExpressionSqlite class is used to create SQL expression for SQLite. [source]
This class reimplements the methods that have a different syntax in SQLite (substr) and contains PHP implementations of functions that are registered with SQLite with it's PDO::sqliteRegisterFunction() method.

Method Summary

public static string concatImpl( )
Returns a concattenation of the data that SQLite's concat() function receives.
public static string md5Impl( $data )
Returns the md5 sum of the data that SQLite's md5() function receives.
public static string modImpl( $dividend, $divisor )
Returns the modules of the data that SQLite's mod() function receives.

Methods

concatImpl

string concatImpl( )
Returns a concattenation of the data that SQLite's concat() function receives.

md5Impl

string md5Impl( $data )
Returns the md5 sum of the data that SQLite's md5() function receives.

Parameters

Name Type Description
$data  

modImpl

string modImpl( $dividend, $divisor )
Returns the modules of the data that SQLite's mod() function receives.

Parameters

Name Type Description
$dividend  
$divisor  

Last updated: Wed, 28 Nov 2007