Documentation TYPO3 par Ameos

dbIndex Class Reference

Inheritance diagram for dbIndex:
[legend]
Collaboration diagram for dbIndex:
[legend]
List of all members.

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 ()

Public Attributes

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

Detailed Description

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


Member Function Documentation

dbIndex::dbIndex ( &$  parent,
attributes = NULL 
)

Initializes the new dbIndex object.

Parameters:
object $parent Parent object
array $attributes Attributes

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

References dbObject::$parent, and dbObject::prefix().

dbIndex::_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 657 of file adodb-xmlschema.inc.php.

References addIndexOpt(), and drop().

dbIndex::_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Processes XML cdata.

private

Reimplemented from dbObject.

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

References addField().

dbIndex::_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

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

dbIndex::addField ( name  ) 

Adds a field to the index

Parameters:
string $name Field name
Returns:
string Field list

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

References $name, and dbObject::FieldID().

Referenced by _tag_cdata().

dbIndex::addIndexOpt ( opt  ) 

Adds options to the index

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

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

Referenced by _tag_open().

dbIndex::create ( &$  xmls  ) 

Generates the SQL that will create the index in the database

Parameters:
object $xmls adoSchema object
Returns:
array Array containing index creation SQL

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

References drop().

dbIndex::drop (  ) 

Marks an index for destruction

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

Referenced by _tag_open(), create(), and drop().

dbIndex::dbIndex ( &$  parent,
attributes = NULL 
)

Initializes the new dbIndex object.

Parameters:
object $parent Parent object
array $attributes Attributes

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

References dbObject::$parent, and dbObject::prefix().

dbIndex::_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 699 of file adodb-xmlschema03.inc.php.

References addIndexOpt(), and drop().

dbIndex::_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Processes XML cdata.

private

Reimplemented from dbObject.

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

References addField().

dbIndex::_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

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

dbIndex::addField ( name  ) 

Adds a field to the index

Parameters:
string $name Field name
Returns:
string Field list

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

References $name, and dbObject::FieldID().

dbIndex::addIndexOpt ( opt  ) 

Adds options to the index

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

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

dbIndex::create ( &$  xmls  ) 

Generates the SQL that will create the index in the database

Parameters:
object $xmls adoSchema object
Returns:
array Array containing index creation SQL

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

References drop().

dbIndex::drop (  ) 

Marks an index for destruction

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

References drop().


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


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6