PHP 클래스 SafeSQL, poMMo

Version: 2.2 with modifications by Philip Kent Date: March 27th, 2007, August 25th, 2013 Copyright: 2001-2005 New Digital Group, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
파일 보기 프로젝트 열기: soonick/poMMo

공개 프로퍼티들

프로퍼티 타입 설명
$_drop_values values that determine dropping bracketed sections

공개 메소드들

메소드 설명
SafeSQL ( ) *======================================================================*\ Function: SafeSQL Purpose: constructor \*======================================================================
_convert_var ( $var, $type ) *======================================================================*\ Function: _convert_var Purpose: convert a variable to the given type Input: $var - the variable $type - the type to convert to: %i, %I - cast to integer %f, %F - cast to float %c, %C - comma separate, cast each element to integer %l, %L - comma separate, no quotes, no casting %q, %Q - quote/comma separate \*======================================================================
_error_msg ( $error_msg ) *======================================================================*\ Function: error Purpose: handle error messages \*======================================================================
_sql_escape ( $var ) *======================================================================*\ Function: _sql_escape Purpose: method overridden by subclass \*======================================================================
get_drop_values ( ) *======================================================================*\ Function: GetDropValues Purpose: \*======================================================================
query ( $query_string, $query_vars ) *======================================================================*\ Function: query Purpose: process the query string \*======================================================================
set_drop_values ( $drop_values ) *======================================================================*\ Function: SetDropValues Purpose: \*======================================================================

메소드 상세

SafeSQL() 공개 메소드

*======================================================================*\ Function: SafeSQL Purpose: constructor \*======================================================================
public SafeSQL ( )

_convert_var() 공개 메소드

*======================================================================*\ Function: _convert_var Purpose: convert a variable to the given type Input: $var - the variable $type - the type to convert to: %i, %I - cast to integer %f, %F - cast to float %c, %C - comma separate, cast each element to integer %l, %L - comma separate, no quotes, no casting %q, %Q - quote/comma separate \*======================================================================
public _convert_var ( $var, $type )

_error_msg() 공개 메소드

*======================================================================*\ Function: error Purpose: handle error messages \*======================================================================
public _error_msg ( $error_msg )

_sql_escape() 공개 메소드

*======================================================================*\ Function: _sql_escape Purpose: method overridden by subclass \*======================================================================
public _sql_escape ( $var )

get_drop_values() 공개 메소드

*======================================================================*\ Function: GetDropValues Purpose: \*======================================================================
public get_drop_values ( )

query() 공개 메소드

*======================================================================*\ Function: query Purpose: process the query string \*======================================================================
public query ( $query_string, $query_vars )

set_drop_values() 공개 메소드

*======================================================================*\ Function: SetDropValues Purpose: \*======================================================================
public set_drop_values ( $drop_values )

프로퍼티 상세

$_drop_values 공개적으로 프로퍼티

values that determine dropping bracketed sections
public $_drop_values