Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
Metadata Class Reference

Public Member Functions

 __construct (Adapter $adapter)
 Constructor.
 
 getTables ($schema=null, $includeViews=false)
 {Get tables.
Parameters
null | string$schema
bool$includeViews
Returns
Object[]
}
 
 getViews ($schema=null)
 {Get views.
Parameters
null | string$schema
Returns
Object[]
}
 
 getTriggers ($schema=null)
 {Get triggers.
Parameters
null | string$schema
Returns
Object[]
}
 
 getConstraints ($table, $schema=null)
 {Get constraints.
Parameters
string$table
null | string$schema
Returns
Object[]
}
 
 getColumns ($table, $schema=null)
 {Get columns.
Parameters
string$table
null | string$schema
Returns
Object[]
}
 
 getConstraintKeys ($constraint, $table, $schema=null)
 {Get constraint keys.
Parameters
string$constraint
string$table
null | string$schema
Returns
Object[]
}
 
 getConstraint ($constraintName, $table, $schema=null)
 {Get constraint.
Parameters
string$constraintName
string$table
null | string$schema
Returns
Object
}
 
 getSchemas ()
 {Get schemas.
Returns
string[]
}
 
 getTableNames ($schema=null, $includeViews=false)
 {Get table names.
Parameters
null | string$schema
bool$includeViews
Returns
string[]
}
 
 getTable ($tableName, $schema=null)
 {Get table.
Parameters
string$tableName
null | string$schema
Returns
Object
}
 
 getViewNames ($schema=null)
 {Get view names.
Parameters
null | string$schema
Returns
string[]
}
 
 getView ($viewName, $schema=null)
 {Get view.
Parameters
string$viewName
null | string$schema
Returns
Object
}
 
 getTriggerNames ($schema=null)
 {Get trigger names.
Parameters
null | string$schema
Returns
string[]
}
 
 getTrigger ($triggerName, $schema=null)
 {Get trigger.
Parameters
string$triggerName
null | string$schema
Returns
Object
}
 
 getColumnNames ($table, $schema=null)
 {Get column names.
Parameters
string$table
null | string$schema
Returns
string[]
}
 
 getColumn ($columnName, $table, $schema=null)
 {Get column.
Parameters
string$columnName
string$table
null | string$schema
Returns
Object
}
 

Protected Attributes

 $source = null
 

Detailed Description

Deprecated:
Use Zend::createSourceFromAdapter($adapter)

Constructor & Destructor Documentation

__construct ( Adapter  $adapter)

Constructor.

Parameters
Adapter$adapter

Member Function Documentation

getColumn (   $columnName,
  $table,
  $schema = null 
)

{Get column.

Parameters
string$columnName
string$table
null | string$schema
Returns
Object
}

Implements MetadataInterface.

getColumnNames (   $table,
  $schema = null 
)

{Get column names.

Parameters
string$table
null | string$schema
Returns
string[]
}

Implements MetadataInterface.

getColumns (   $table,
  $schema = null 
)

{Get columns.

Parameters
string$table
null | string$schema
Returns
Object[]
}

Implements MetadataInterface.

getConstraint (   $constraintName,
  $table,
  $schema = null 
)

{Get constraint.

Parameters
string$constraintName
string$table
null | string$schema
Returns
Object
}

Implements MetadataInterface.

getConstraintKeys (   $constraint,
  $table,
  $schema = null 
)

{Get constraint keys.

Parameters
string$constraint
string$table
null | string$schema
Returns
Object[]
}

Implements MetadataInterface.

getConstraints (   $table,
  $schema = null 
)

{Get constraints.

Parameters
string$table
null | string$schema
Returns
Object[]
}

Implements MetadataInterface.

getSchemas ( )

{Get schemas.

Returns
string[]
}

Implements MetadataInterface.

getTable (   $tableName,
  $schema = null 
)

{Get table.

Parameters
string$tableName
null | string$schema
Returns
Object
}

Implements MetadataInterface.

getTableNames (   $schema = null,
  $includeViews = false 
)

{Get table names.

Parameters
null | string$schema
bool$includeViews
Returns
string[]
}

Implements MetadataInterface.

getTables (   $schema = null,
  $includeViews = false 
)

{Get tables.

Parameters
null | string$schema
bool$includeViews
Returns
Object[]
}

Implements MetadataInterface.

getTrigger (   $triggerName,
  $schema = null 
)

{Get trigger.

Parameters
string$triggerName
null | string$schema
Returns
Object
}

Implements MetadataInterface.

getTriggerNames (   $schema = null)

{Get trigger names.

Parameters
null | string$schema
Returns
string[]
}

Implements MetadataInterface.

getTriggers (   $schema = null)

{Get triggers.

Parameters
null | string$schema
Returns
Object[]
}

Implements MetadataInterface.

getView (   $viewName,
  $schema = null 
)

{Get view.

Parameters
string$viewName
null | string$schema
Returns
Object
}

Implements MetadataInterface.

getViewNames (   $schema = null)

{Get view names.

Parameters
null | string$schema
Returns
string[]
}

Implements MetadataInterface.

getViews (   $schema = null)

{Get views.

Parameters
null | string$schema
Returns
Object[]
}

Implements MetadataInterface.

Member Data Documentation

$source = null
protected