TYPO3 CMS  TYPO3_7-6
dbIndex Class Reference
Inheritance diagram for dbIndex:
dbObject dbObject

Public Member Functions

 __construct (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 addField ( $name)
 
 addIndexOpt ( $opt)
 
 create (&$xmls)
 
 drop ()
 
 __construct (&$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
 __construct (&$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)
 
 __construct (&$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 613 of file adodb-xmlschema.inc.php.

Constructor & Destructor Documentation

◆ __construct() [1/2]

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

Initializes the new dbIndex object.

Parameters
object$parentParent object
array$attributesAttributes

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

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

◆ __construct() [2/2]

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

Initializes the new dbIndex object.

Parameters
object$parentParent object
array$attributesAttributes

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

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

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 685 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 726 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 701 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 742 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 658 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 699 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 717 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 758 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 730 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 771 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 743 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 784 of file adodb-xmlschema03.inc.php.

◆ drop() [1/2]

dbIndex::drop ( )

Marks an index for destruction

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

◆ drop() [2/2]

dbIndex::drop ( )

Marks an index for destruction

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

Member Data Documentation

◆ $columns

dbIndex::$columns = array()

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

◆ $drop

dbIndex::$drop = FALSE

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

◆ $name

dbIndex::$name

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

◆ $opts

dbIndex::$opts = array()

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