Class CFW_FieldProperties_Abstract

Description

フィールドプロパティの基本

  • author: okada
  • abstract:

Located in /FieldProperties/Abstract.php (line 18)


	
			
Direct descendents
Class Description
CFW_FieldProperties_Byte バイトデータ用 フィールドプロパティ
CFW_FieldProperties_Date 日付用フィールドプロパティ
CFW_FieldProperties_Decimal 十進型用フィールドプロパティ
CFW_FieldProperties_Double 不動小数用フィールドプロパティ
CFW_FieldProperties_Int 整数用フィールドプロパティ
CFW_FieldProperties_Long 整数用フィールドプロパティ
CFW_FieldProperties_Short 整数用フィールドプロパティ
CFW_FieldProperties_String 文字列用フィールドプロパティ
Variable Summary
boolean $allowZero
string $dbFormat
object $defaultValue
string $description
string $displayName
boolean $doUpdate
string $fieldName
string $fieldType
string $format
boolean $isIdentity
boolean $isPrimaryKey
integer $length
boolean $nullable
integer $precision
integer $scale
string $sqlTypeName
string $tableName
Method Summary
static void newInstance ( $sqlTypeName,  $tableName,  $columnName,  $displayName,  $length,  $prec,  $scale, [ $nullable = true], [ $columnDef = null], [ $isPrimaryKey = false], [ $isIdentity = false])
CFW_FieldProperties_Abstract __construct ([array $spec = null])
string alias ()
string fullName ()
Variables
boolean $allowZero (line 112)

数値型の場合の0値の扱い

  • access: public
string $dbFormat (line 102)

DB上でのフォーマット 保存の都合上varcharなどで定義してある別のタイプの項目が保存されるときに適用されるフォーマット yyyyMMdd etc...

  • access: public
object $defaultValue (line 107)

default

  • access: public
string $description (line 68)

説明

  • access: public
string $displayFormat (line 95)

表示用フォーマット #0,yyyy/MM/dd,etc...

  • access: public
string $displayName (line 79)

表示用の名称

TODO:ここにに持つべきか

  • access: public
boolean $doUpdate (line 84)

更新対象列

  • access: public
string $fieldName (line 28)

元になる列名

  • access: public
string $fieldType (line 33)

タイプ

  • access: public
string $format (line 89)

入力フォーマット

  • access: public
boolean $ignoreValidation (line 117)

検証回避対象

  • access: public
boolean $isIdentity (line 63)

identity

  • access: public
boolean $isPrimaryKey (line 58)

primary key

  • access: public
integer $length (line 38)

長さ

  • access: public
boolean $nullable (line 53)

NULL許可

  • access: public
integer $precision (line 43)

有効長

  • access: public
integer $scale (line 48)

精度

  • access: public
string $sqlTypeName (line 73)

元になるテーブル列に定義された型の名前

  • access: public
string $tableName (line 23)

元になるテーブル名称

  • access: public
Methods
static method newInstance (line 147)
  • access: public
static void newInstance ( $sqlTypeName,  $tableName,  $columnName,  $displayName,  $length,  $prec,  $scale, [ $nullable = true], [ $columnDef = null], [ $isPrimaryKey = false], [ $isIdentity = false])
  • $sqlTypeName
  • $tableName
  • $columnName
  • $displayName
  • $length
  • $prec
  • $scale
  • $nullable
  • $columnDef
  • $isPrimaryKey
  • $isIdentity
alias (line 268)

この列の別名

  • access: public
string alias ()
fullName (line 260)

この列のフル名称

  • access: public
string fullName ()

Documentation generated on Fri, 25 Dec 2009 22:44:12 +0900 by phpDocumentor 1.4.3