TYPO3 CMS  TYPO3_6-2
dbIndex Class Reference
Inheritance diagram for dbIndex:
dbObject dbObject

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 Member Functions inherited from dbObject
 dbObject (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 create (&$xmls)
 
 destroy ()
 
 supportedPlatform ( $platform=NULL)
 
 prefix ( $name='')
 
 FieldID ( $field)
 
 dbObject (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 create (&$xmls)
 
 destroy ()
 
 supportedPlatform ( $platform=NULL)
 
 prefix ( $name='')
 
 FieldID ( $field)
 

Public Attributes

 $name
 
 $opts = array()
 
 $columns = array()
 
 $drop = FALSE
 
- Public Attributes inherited from dbObject
 $parent
 
 $currentElement
 

Detailed Description

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

Member Function Documentation

◆ _tag_cdata() [1/2]

dbIndex::_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

Processes XML cdata.

private

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

◆ _tag_cdata() [2/2]

dbIndex::_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

Processes XML cdata.

private

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

◆ _tag_close() [1/2]

dbIndex::_tag_close ( $parser,
  $tag 
)

XML Callback to process end elements

private

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

◆ _tag_close() [2/2]

dbIndex::_tag_close ( $parser,
  $tag 
)

XML Callback to process end elements

private

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

◆ _tag_open() [1/2]

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

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

◆ _tag_open() [2/2]

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

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

◆ addField() [1/2]

dbIndex::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.

References dbObject\FieldID().

◆ addField() [2/2]

dbIndex::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.

References dbObject\FieldID().

◆ addIndexOpt() [1/2]

dbIndex::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.

◆ addIndexOpt() [2/2]

dbIndex::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() [1/2]

dbIndex::create ( $xmls)

Generates the SQL that will create the index in the database

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

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

◆ create() [2/2]

dbIndex::create ( $xmls)

Generates the SQL that will create the index in the database

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

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

◆ dbIndex() [1/2]

dbIndex::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.

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

◆ dbIndex() [2/2]

dbIndex::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.

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

◆ drop() [1/2]

dbIndex::drop ( )

Marks an index for destruction

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

◆ drop() [2/2]

dbIndex::drop ( )

Marks an index for destruction

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

Member Data Documentation

◆ $columns

dbIndex::$columns = array()

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

◆ $drop

dbIndex::$drop = FALSE

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

◆ $name

dbIndex::$name

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

◆ $opts

dbIndex::$opts = array()

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