Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
QueryDir Class Reference
+ Inheritance diagram for QueryDir:
+ Collaboration diagram for QueryDir:

Public Member Functions

 PreInsert ()
 
 Exists ()
 
- Public Member Functions inherited from DbObj
 __construct ($dbaccess= '', $id= '', $res= '', $dbid=0)
 
 Select ($id)
 
 getValues ()
 
 AffectColumn ($fields)
 
 Affect ($array)
 
 isAffected ()
 
 Complete ()
 
 PreInsert ()
 
 PostInsert ()
 
 PreUpdate ()
 
 PostUpdate ()
 
 PreDelete ()
 
 PostDelete ()
 
 PreSelect ($id)
 
 PostSelect ($id)
 
 Add ($nopost=false, $nopre=false)
 
 Modify ($nopost=false, $sfields="", $nopre=false)
 
 Delete ($nopost=false)
 
 Adds (&$tcopy, $nopost=false)
 
 lw ($prop)
 
 CloseConnect ()
 
 Create ($nopost=false)
 
 PostInit ()
 
 init_dbid ()
 
 exec_query ($sql, $lvl=0, $prepare=false)
 
 numrows ()
 
 fetch_array ($c, $type=PGSQL_ASSOC)
 
 Update ()
 
 savePoint ($point)
 
 rollbackPoint ($point)
 
 commitPoint ($point)
 

Data Fields

 $fields
 
 $id_fields
 
 $dbtable = "fld"
 
 $order_by = "dirid"
 
 $fulltextfields
 
 $sqlcreate
 
- Data Fields inherited from DbObj
 $dbid = - 1
 
 $dbaccess = ''
 
 $fields
 
 $dbtable = ''
 
 $criterias = array()
 
 $sup_fields = array()
 
 $sup_where = array()
 
 $sup_tables = array()
 
 $fulltextfields = array()
 
 $order_by = ""
 
 $isset = false
 
 $msg_err = ''
 
 $err_code = ''
 
 $res = null
 
 $debug = false
 

Additional Inherited Members

- Static Public Attributes inherited from DbObj
static $savepoint = array()
 

Detailed Description

Definition at line 26 of file Class.QueryDir.php.

Member Function Documentation

Exists ( )

Definition at line 76 of file Class.QueryDir.php.

+ Here is the call graph for this function:

PreInsert ( )

Definition at line 68 of file Class.QueryDir.php.

Field Documentation

$dbtable = "fld"

Definition at line 44 of file Class.QueryDir.php.

$fields
Initial value:
= array(
"dirid",
"query",
"childid",
"qtype",
"fromid",
"doctype"
)

Definition at line 28 of file Class.QueryDir.php.

$fulltextfields
Initial value:
= array(
""
)

Definition at line 48 of file Class.QueryDir.php.

$id_fields
Initial value:
= array(
"dirid",
"childid"
)

Definition at line 39 of file Class.QueryDir.php.

$order_by = "dirid"

Definition at line 46 of file Class.QueryDir.php.

$sqlcreate
Initial value:
= "
create table fld (
dirid int not null,
query text,
childid int,
qtype char,
fromid int,
doctype char
);
create index fld_iqd on fld(qtype,dirid);
create index fld_iqc on fld(qtype,childid);
create unique index fld_u on fld(qtype,dirid,childid);
create sequence seq_id_fld start 100;
CREATE TRIGGER tfldfrom before insert on fld FOR EACH ROW execute procedure fromfld();"

Definition at line 52 of file Class.QueryDir.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase