Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • ConventionalReflection
  • DiscoveredReflection

Exceptions

  • AmbiguousReferenceKeyException
  • MissingReferenceException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class ConventionalReflection

Nette\Object
Extended by Nette\Database\Conventions\StaticConventions implements Nette\Database\IConventions
Extended by Nette\Database\Reflection\ConventionalReflection
Namespace: Nette\Database\Reflection
Deprecated
Located at Database/deprecated/ConventionalReflection.php
Methods summary
public
# __construct( string $primary = 'id', string $foreign = '%s_id', string $table = '%s' )

Create static conventional structure.

Create static conventional structure.

Parameters

$primary
stands for table name
$foreign
$s stands for key used after ->, %2$s for table name
$table
$s stands for key used after ->, %2$s for table name

Overrides

Nette\Database\Conventions\StaticConventions::__construct()
Methods inherited from Nette\Database\Conventions\StaticConventions
getBelongsToReference(), getColumnFromTable(), getHasManyReference(), getPrimary()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties inherited from Nette\Database\Conventions\StaticConventions
$foreign, $primary, $table
Magic properties inherited from Nette\Object
$reflection
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0