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

Class: PHPLinq_Adapter_Pdo_Mysql

Source Location: /PHPLinq/Adapter/Pdo/Mysql.php

Class Overview

PHPLinq_Adapter_Abstract
   |
   --PHPLinq_Adapter_Pdo_Mysql

PHPLinq_Adapter_Pdo_Mysql


Author(s):

Copyright:

  • Copyright (c) 2008 - 2009 PHPLinq (http://www.codeplex.com/PHPLinq)

Methods


Inherited Variables

Inherited Methods

Class: PHPLinq_Adapter_Abstract

PHPLinq_Adapter_Abstract::__construct()
Constructor
PHPLinq_Adapter_Abstract::abs()
Absolute value
PHPLinq_Adapter_Abstract::addslashes()
Quote string with slashes
PHPLinq_Adapter_Abstract::chr()
Return a specific character
PHPLinq_Adapter_Abstract::count()
Count elements in an array, or properties in an object
PHPLinq_Adapter_Abstract::custom()
Execute a custom function (outside of PHPLinq_Adapter package).
PHPLinq_Adapter_Abstract::getFunctions()
Get list of functions
PHPLinq_Adapter_Abstract::lcfirst()
Make a string's first character lowercase
PHPLinq_Adapter_Abstract::ltrim()
Strip whitespace (or other characters) from the beginning of a string
PHPLinq_Adapter_Abstract::max()
Find highest value
PHPLinq_Adapter_Abstract::md5()
Calculate the md5 hash of a string
PHPLinq_Adapter_Abstract::min()
Find lowest value
PHPLinq_Adapter_Abstract::operand()
Convert operand
PHPLinq_Adapter_Abstract::operator()
Convert operator
PHPLinq_Adapter_Abstract::ord()
Return ASCII value of character
PHPLinq_Adapter_Abstract::quote()
Safely quotes a value for an SQL statement.
PHPLinq_Adapter_Abstract::quoteIdentifier()
Quotes an identifier.
PHPLinq_Adapter_Abstract::rand()
Generate a random integer
PHPLinq_Adapter_Abstract::round()
Rounds a float
PHPLinq_Adapter_Abstract::rtrim()
Strip whitespace (or other characters) from the end of a string
PHPLinq_Adapter_Abstract::sha1()
Calculate the sha1 hash of a string
PHPLinq_Adapter_Abstract::soundex()
Calculate the soundex key of a string
PHPLinq_Adapter_Abstract::stripos()
Find position of first occurrence of a case-insensitive string
PHPLinq_Adapter_Abstract::strlen()
Get string length
PHPLinq_Adapter_Abstract::strpos()
Find position of first occurrence of a string
PHPLinq_Adapter_Abstract::strtolower()
Make a string lowercase
PHPLinq_Adapter_Abstract::strtoupper()
Make a string uppercase
PHPLinq_Adapter_Abstract::str_repeat()
Repeat a string
PHPLinq_Adapter_Abstract::str_replace()
Replace all occurrences of the search string with the replacement string
PHPLinq_Adapter_Abstract::substr()
Return part of a string
PHPLinq_Adapter_Abstract::trim()
Strip whitespace (or other characters) from the beginning and end of a string
PHPLinq_Adapter_Abstract::ucfirst()
Make a string's first character uppercase

Class Details

[line 40]
PHPLinq_Adapter_Pdo_Mysql

PHPLinq_Adapter_Pdo_Mysql




Tags:

copyright:  Copyright (c) 2008 - 2009 PHPLinq (http://www.codeplex.com/PHPLinq)


[ Top ]


Class Methods


constructor __construct [line 46]

PHPLinq_Adapter_Pdo_Mysql __construct( [ $adapter = null])

Constructor

Constructor




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::__construct() (Constructor)

Parameters:

Zend_Db_Adapter_Abstract   $adapter  

[ Top ]

method abs [line 157]

string abs( mixed $number)

Absolute value

Absolute value




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::abs() (Absolute value)

Parameters:

mixed   $number  

[ Top ]

method addslashes [line 325]

string addslashes( string $str)

Quote string with slashes

Quote string with slashes




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::addslashes() (Quote string with slashes)

Parameters:

string   $str  

[ Top ]

method chr [line 91]

string chr( $ascii, int $string)

Return a specific character

Return a specific character




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::chr() (Return a specific character)

Parameters:

int   $string   The ascii code
   $ascii  

[ Top ]

method count [line 127]

string count( mixed $var)

Count elements in an array, or properties in an object

Count elements in an array, or properties in an object




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::count() (Count elements in an array, or properties in an object)

Parameters:

mixed   $var  

[ Top ]

method lcfirst [line 273]

string lcfirst( string $str)

Make a string's first character lowercase

Make a string's first character lowercase




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::lcfirst() (Make a string's first character lowercase)

Parameters:

string   $str  

[ Top ]

method ltrim [line 187]

string ltrim( string $str)

Strip whitespace (or other characters) from the beginning of a string

Strip whitespace (or other characters) from the beginning of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::ltrim() (Strip whitespace (or other characters) from the beginning of a string)

Parameters:

string   $str  

[ Top ]

method max [line 137]

string max( mixed $values)

Find highest value

Find highest value




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::max() (Find highest value)

Parameters:

mixed   $values  

[ Top ]

method md5 [line 294]

string md5( string $str, [boolean $raw_output = false])

Calculate the md5 hash of a string

Calculate the md5 hash of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::md5() (Calculate the md5 hash of a string)

Parameters:

string   $str  
boolean   $raw_output  

[ Top ]

method min [line 147]

string min( mixed $values)

Find lowest value

Find lowest value




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::min() (Find lowest value)

Parameters:

mixed   $values  

[ Top ]

method operator [line 56]

string operator( string $operator)

Convert operator

Convert operator




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::operator() (Convert operator)

Parameters:

string   $operator  

[ Top ]

method ord [line 81]

string ord( string $string)

Return ASCII value of character

Return ASCII value of character




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::ord() (Return ASCII value of character)

Parameters:

string   $string   A character

[ Top ]

method rand [line 196]

string rand( )

Generate a random integer

Generate a random integer




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::rand() (Generate a random integer)

[ Top ]

method round [line 219]

string round( float $val, [int $precision = 0])

Rounds a float

Rounds a float




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::round() (Rounds a float)

Parameters:

float   $val  
int   $precision  

[ Top ]

method rtrim [line 229]

string rtrim( string $str)

Strip whitespace (or other characters) from the end of a string

Strip whitespace (or other characters) from the end of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::rtrim() (Strip whitespace (or other characters) from the end of a string)

Parameters:

string   $str  

[ Top ]

method sha1 [line 305]

string sha1( string $str, [boolean $raw_output = false])

Calculate the sha1 hash of a string

Calculate the sha1 hash of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::sha1() (Calculate the sha1 hash of a string)

Parameters:

string   $str  
boolean   $raw_output  

[ Top ]

method soundex [line 315]

string soundex( string $str)

Calculate the soundex key of a string

Calculate the soundex key of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::soundex() (Calculate the soundex key of a string)

Parameters:

string   $str  

[ Top ]

method stripos [line 263]

string stripos( string $haystack, mixed $needle, [int $offset = 0])

Find position of first occurrence of a case-insensitive string

Find position of first occurrence of a case-insensitive string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::stripos() (Find position of first occurrence of a case-insensitive string)

Parameters:

string   $haystack  
mixed   $needle  
int   $offset  

[ Top ]

method strlen [line 117]

string strlen( string $string)

Get string length

Get string length




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::strlen() (Get string length)

Parameters:

string   $string  

[ Top ]

method strpos [line 251]

string strpos( string $haystack, mixed $needle, [int $offset = 0])

Find position of first occurrence of a string

Find position of first occurrence of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::strpos() (Find position of first occurrence of a string)

Parameters:

string   $haystack  
mixed   $needle  
int   $offset  

[ Top ]

method strtolower [line 167]

string strtolower( string $str)

Make a string lowercase

Make a string lowercase




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::strtolower() (Make a string lowercase)

Parameters:

string   $str  

[ Top ]

method strtoupper [line 177]

string strtoupper( string $str)

Make a string uppercase

Make a string uppercase




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::strtoupper() (Make a string uppercase)

Parameters:

string   $str  

[ Top ]

method str_repeat [line 336]

string str_repeat( string $input, int $multiplier)

Repeat a string

Repeat a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::str_repeat() (Repeat a string)

Parameters:

string   $input  
int   $multiplier  

[ Top ]

method str_replace [line 208]

string str_replace( mixed $search, mixed $replace, mixed $subject)

Replace all occurrences of the search string with the replacement string

Replace all occurrences of the search string with the replacement string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::str_replace() (Replace all occurrences of the search string with the replacement string)

Parameters:

mixed   $search  
mixed   $replace  
mixed   $subject  

[ Top ]

method substr [line 103]

string substr( string $string, int $start, [int $length = ''])

Return part of a string

Return part of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::substr() (Return part of a string)

Parameters:

string   $string  
int   $start  
int   $length  

[ Top ]

method trim [line 239]

string trim( string $str)

Strip whitespace (or other characters) from the beginning and end of a string

Strip whitespace (or other characters) from the beginning and end of a string




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::trim() (Strip whitespace (or other characters) from the beginning and end of a string)

Parameters:

string   $str  

[ Top ]

method ucfirst [line 283]

string ucfirst( string $str)

Make a string's first character uppercase

Make a string's first character uppercase




Tags:

access:  public


Overrides PHPLinq_Adapter_Abstract::ucfirst() (Make a string's first character uppercase)

Parameters:

string   $str  

[ Top ]


Documentation generated on Tue, 27 Jan 2009 08:29:34 +0100 by phpDocumentor 1.4.1