Moodle  2.2.1
http://www.collinsharper.com
dbIndex Class Reference
Inheritance diagram for dbIndex:
Collaboration diagram for dbIndex:

Public Member Functions

 dbIndex (&$parent, $attributes=NULL)
 _tag_open (&$parser, $tag, $attributes)
 _tag_cdata (&$parser, $cdata)
 _tag_close (&$parser, $tag)
 addField ($name)
 addIndexOpt ($opt)
 create (&$xmls)
 drop ()
 dbIndex (&$parent, $attributes=NULL)
 _tag_open (&$parser, $tag, $attributes)
 _tag_cdata (&$parser, $cdata)
 _tag_close (&$parser, $tag)
 addField ($name)
 addIndexOpt ($opt)
 create (&$xmls)
 drop ()

Data Fields

 $name
 $opts = array()
 $columns = array()
 $drop = FALSE

Detailed Description

Definition at line 614 of file adodb-xmlschema.inc.php.


Member Function Documentation

_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Processes XML cdata.

private

Reimplemented from dbObject.

Definition at line 686 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Processes XML cdata.

private

Reimplemented from dbObject.

Definition at line 727 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

Definition at line 702 of file adodb-xmlschema.inc.php.

_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

Definition at line 743 of file adodb-xmlschema03.inc.php.

_tag_open ( &$  parser,
tag,
attributes 
)

XML Callback to process start elements

Processes XML opening tags. Elements currently processed are: DROP, CLUSTERED, BITMAP, UNIQUE, FULLTEXT & HASH.

private

Reimplemented from dbObject.

Definition at line 659 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

_tag_open ( &$  parser,
tag,
attributes 
)

XML Callback to process start elements

Processes XML opening tags. Elements currently processed are: DROP, CLUSTERED, BITMAP, UNIQUE, FULLTEXT & HASH.

private

Reimplemented from dbObject.

Definition at line 700 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

addField ( name)

Adds a field to the index

Parameters:
string$nameField name
Returns:
string Field list

Definition at line 718 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

addField ( name)

Adds a field to the index

Parameters:
string$nameField name
Returns:
string Field list

Definition at line 759 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

addIndexOpt ( opt)

Adds options to the index

Parameters:
string$optComma-separated list of index options.
Returns:
string Option list

Definition at line 731 of file adodb-xmlschema.inc.php.

Here is the caller graph for this function:

addIndexOpt ( opt)

Adds options to the index

Parameters:
string$optComma-separated list of index options.
Returns:
string Option list

Definition at line 772 of file adodb-xmlschema03.inc.php.

create ( &$  xmls)

Generates the SQL that will create the index in the database

Parameters:
object$xmlsadoSchema object
Returns:
array Array containing index creation SQL

Reimplemented from dbObject.

Definition at line 744 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

create ( &$  xmls)

Generates the SQL that will create the index in the database

Parameters:
object$xmlsadoSchema object
Returns:
array Array containing index creation SQL

Reimplemented from dbObject.

Definition at line 785 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

dbIndex ( &$  parent,
attributes = NULL 
)

Initializes the new dbIndex object.

Parameters:
object$parentParent object
array$attributesAttributes

Definition at line 645 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

dbIndex ( &$  parent,
attributes = NULL 
)

Initializes the new dbIndex object.

Parameters:
object$parentParent object
array$attributesAttributes

Definition at line 686 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

drop ( )

Marks an index for destruction

Definition at line 762 of file adodb-xmlschema.inc.php.

Here is the caller graph for this function:

drop ( )

Marks an index for destruction

Definition at line 803 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:


Field Documentation

$columns = array()

Definition at line 629 of file adodb-xmlschema.inc.php.

$drop = FALSE

Definition at line 635 of file adodb-xmlschema.inc.php.

$name

Definition at line 619 of file adodb-xmlschema.inc.php.

$opts = array()

Definition at line 624 of file adodb-xmlschema.inc.php.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Enumerations