Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • Net
  • None
  • PHP
  • system
    • base
    • caching
      • dependencies
    • collections
    • console
    • db
      • ar
      • schema
        • cubrid
        • mssql
        • mysql
        • oci
        • pgsql
        • sqlite
    • i18n
      • gettext
    • logging
    • test
    • utils
    • validators
    • web
      • actions
      • auth
      • filters
      • form
      • helpers
      • renderers
      • services
      • widgets
        • captcha
        • pagers
  • Text
    • Highlighter
  • zii
    • behaviors
    • widgets
      • grid
      • jui

Classes

  • CMysqlColumnSchema
  • CMysqlCommandBuilder
  • CMysqlSchema
  • CMysqlTableSchema
  • Overview
  • Package
  • Class
  • Tree

Class CMysqlColumnSchema

CMysqlColumnSchema class describes the column meta data of a MySQL table.

CComponent
Extended by CDbColumnSchema
Extended by CMysqlColumnSchema
Package: system\db\schema\mysql
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/db/schema/mysql/CMysqlColumnSchema.php
Methods summary
protected
# extractType( string $dbType )

Extracts the PHP type from DB type.

Extracts the PHP type from DB type.

Parameters

$dbType
string
$dbType DB type

Overrides

CDbColumnSchema::extractType()
protected
# extractDefault( mixed $defaultValue )

Extracts the default value for the column. The value is typecasted to correct PHP type.

Extracts the default value for the column. The value is typecasted to correct PHP type.

Parameters

$defaultValue
mixed
$defaultValue the default value obtained from metadata

Overrides

CDbColumnSchema::extractDefault()
protected
# extractLimit( string $dbType )

Extracts size, precision and scale information from column's DB type.

Extracts size, precision and scale information from column's DB type.

Parameters

$dbType
string
$dbType the column's DB type

Overrides

CDbColumnSchema::extractLimit()
Methods inherited from CDbColumnSchema
init(), typecast()
Methods inherited from CComponent
__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()
Properties inherited from CDbColumnSchema
$allowNull, $autoIncrement, $comment, $dbType, $defaultValue, $isForeignKey, $isPrimaryKey, $name, $precision, $rawName, $scale, $size, $type
API documentation generated by ApiGen 2.8.0