PHP Class dbData, pkp-lib

Show file Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$data
$row

Public Methods

Method Description
_tag_cdata ( &$parser, $cdata ) XML Callback to process CDATA elements
_tag_close ( &$parser, $tag ) XML Callback to process end elements
_tag_open ( &$parser, $tag, $attributes ) XML Callback to process start elements
addData ( $cdata ) : string Adds options to the index
addField ( $attributes ) : string Adds a field to the index
create ( object &$xmls ) : array Generates the SQL that will create the index in the database
dbData ( object &$parent, array $attributes = NULL ) Initializes the new dbIndex object.

Method Details

_tag_cdata() public method

Processes XML cdata.
public _tag_cdata ( &$parser, $cdata )

_tag_close() public method

XML Callback to process end elements
public _tag_close ( &$parser, $tag )

_tag_open() public method

Processes XML opening tags. Elements currently processed are: DROP, CLUSTERED, BITMAP, UNIQUE, FULLTEXT & HASH.
public _tag_open ( &$parser, $tag, $attributes )

addData() public method

Adds options to the index
public addData ( $cdata ) : string
return string Option list

addField() public method

Adds a field to the index
public addField ( $attributes ) : string
return string Field list

create() public method

Generates the SQL that will create the index in the database
public create ( object &$xmls ) : array
$xmls object adoSchema object
return array Array containing index creation SQL

dbData() public method

Initializes the new dbIndex object.
public dbData ( object &$parent, array $attributes = NULL )
$parent object Parent object
$attributes array Attributes

Property Details

$data public property

public $data

$row public property

public $row