Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • None
  • PHP

Classes

  • NDatabaseReflection
  • Overview
  • Package
  • Class
  • Tree

Class NDatabaseReflection

Reflection metadata class for a database. TEMPORARY SOLUTION

NObject
Extended by NDatabaseReflection
Package: Nette\Database\Reflection
Author: Jakub Vrana
Located at Database/Reflection/DatabaseReflection.php
Methods summary
public
# __construct( string $primary = 'id', string $foreign = '%s_id', string $table = '%s' )

Create conventional structure.

Create conventional structure.

Parameters

$primary
string
%s stands for table name
$foreign
string
%1$s stands for key used after ->, %2$s for table name
$table
string
%1$s stands for key used after ->, %2$s for table name
public
# getPrimary( $table )
public
# getReferencingColumn( $name, $table )
public
# getReferencedColumn( $name, $table )
public
# getReferencedTable( $name, $table )
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
string FIELD_TEXT 'string'
#
string FIELD_BINARY 'bin'
#
string FIELD_BOOL 'bool'
#
string FIELD_INTEGER 'int'
#
string FIELD_FLOAT 'float'
#
string FIELD_DATETIME 'datetime'
#
Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0