Overview

Namespaces

  • None
  • opensourceame

Classes

  • form_state
  • sql_query
  • sql_query_builder
  • stash_bean
  • stash_collection
  • stash_framework
  • stash_mysql
  • stash_mysql_collection
  • stash_mysql_framework
  • XTemplate
  • ztemplate

Functions

  • get_arguments
  • get_form_state
  • print_help
  • print_version
  • processTime
  • register_form_state
  • unregister_form_state
  • Overview
  • Namespace
  • Class
  • Tree

Class sql_query_builder

Direct Known Subclasses

sql_query
Description: a class to build SQL queries in a method based way
Located at stash/opensourceame.stash.php
Methods summary
public
# __class_version( )
public
# __construct( )
public (string)
# compiled( )
Return the compiled query

Return the compiled query

Returns

(string)
the query
public
# conditions( )
private
# blank( )
public
# add_condition( $condition )
public
# query( $query )
public
# select( $select )
public
# from( $from )
public
# where( $val )
public
# offset( $val )
public
# limit( $val )
public
# order( $val )
public
# group( $val )
public
# set_select( $select )
public
# set_from( $from )
public
# set_query( $query )
public
# set_offset( $offset )
public
# set_group( $group )
public
# set_order( $order )
public
# set_limit( $limit )
public
# get( $var )
Properties summary
public $select
#
public $from
#
public $conditions
#
public $group
#
public $limit
#
public $order
#
public $offset
#
private $compiled null
#
private array $conditions_array array()
#
private array $part_order array( 'select', 'from', 'conditions', 'group', 'order', 'limit', 'offset' )
#
OpenSourceAme API Documentation API documentation generated by ApiGen.
Generated using the TokenReflection library.