Stud.IP  2.5 Revision
Sql_Query Class Reference
Collaboration diagram for Sql_Query:
Collaboration graph

Public Member Functions

 start ($class="")
 
 selection ($name, $option, $old="", $trans="", $class="", $js="", $addblank=0)
 
 makename ($base, $att, $num)
 
 form ($base, $option, $class="", $target="")
 
 plain_where ($base)
 
 generic_submit ($what, $base, $incr=1)
 
 where ( $base, $incr=1)
 
 from ( $base, $incr=0)
 
 plain_from ( $base)
 
 start ($class="")
 
 selection ($name, $option, $old="", $trans="", $class="")
 
 makename ($base, $att, $num)
 
 form ($base, $option, $class="", $target="")
 
 plain_where ($base)
 
 translated_plain_where ($base, $field)
 
 where ($base, $incr=1)
 

Data Fields

 $classname = "Sql_Query"
 
 $persistent_slots
 
 $conditions = 1
 
 $input_size = 20
 
 $input_max = 80
 
 $method = "post"
 
 $lang = "en"
 
 $translate = "on"
 
 $container = "on"
 
 $variable = "on"
 
 $use_js = "on"
 
 $BLANK = -1
 
 $dict
 
 $compare
 

Member Function Documentation

◆ form() [1/2]

form (   $base,
  $option,
  $class = "",
  $target = "" 
)
Here is the call graph for this function:

◆ form() [2/2]

form (   $base,
  $option,
  $class = "",
  $target = "" 
)
Here is the call graph for this function:

◆ from()

from (   $base,
  $incr = 0 
)
Here is the call graph for this function:

◆ generic_submit()

generic_submit (   $what,
  $base,
  $incr = 1 
)
Here is the caller graph for this function:

◆ makename() [1/2]

makename (   $base,
  $att,
  $num 
)

◆ makename() [2/2]

makename (   $base,
  $att,
  $num 
)
Here is the caller graph for this function:

◆ plain_from()

plain_from (   $base)
Here is the caller graph for this function:

◆ plain_where() [1/2]

plain_where (   $base)

◆ plain_where() [2/2]

plain_where (   $base)
Here is the caller graph for this function:

◆ selection() [1/2]

selection (   $name,
  $option,
  $old = "",
  $trans = "",
  $class = "" 
)

◆ selection() [2/2]

selection (   $name,
  $option,
  $old = "",
  $trans = "",
  $class = "",
  $js = "",
  $addblank = 0 
)
Here is the caller graph for this function:

◆ start() [1/2]

start (   $class = "")

◆ start() [2/2]

start (   $class = "")

◆ translated_plain_where()

translated_plain_where (   $base,
  $field 
)

◆ where() [1/2]

where (   $base,
  $incr = 1 
)
Here is the call graph for this function:

◆ where() [2/2]

where (   $base,
  $incr = 1 
)
Here is the call graph for this function:

Field Documentation

◆ $BLANK

$BLANK = -1

◆ $classname

$classname = "Sql_Query"

◆ $compare

$compare
Initial value:
"like" => "like",
">" => ">",
"<" => "<",
">=" => ">=",
"<=" => "<=",
"=" => "=",
"<>" => "<>"
)

◆ $conditions

$conditions = 1

◆ $container

$container = "on"

◆ $dict

$dict
Initial value:
"de" => array(
"searchfor" => "Suchen nach:",
"and" => "und",
"or" => "oder",
"like" => "enthält",
"reset" => "Neu",
"submit" => "Ausführen",
"less" => "Weniger",
"more" => "Mehr"
),
"en" => array(
"searchfor" => "Search for:",
"and" => "and",
"or" => "or",
"like" => "contains",
"reset" => "Reset Query",
"submit" => "Submit Query",
"less" => "Fewer",
"more" => "More"
)
)

◆ $input_max

$input_max = 80

◆ $input_size

$input_size = 20

◆ $lang

$lang = "en"

◆ $method

$method = "post"

◆ $persistent_slots

$persistent_slots
Initial value:
"conditions", "input_size", "input_max", "method", "lang", "translate", "container", "variable"
)

◆ $translate

$translate = "on"

◆ $use_js

$use_js = "on"

◆ $variable

$variable = "on"

The documentation for this class was generated from the following files: