\Geo_DB_Field_Geometry

Geometry value

Summary

Methods
Properties
Constants
__construct()
formField()
$type
$column
$value
$extra
$methods
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$type

$type : 

نوع یک فیلد برای نگاشی این فیلد به فیلدهای واقعی پایگاه داده استفاده می‌شود. برای نمونه کلاس Pluf_DB_Schema_MySQL در یک متغیر mapping این نگاشت را نگهداری کرده است.

Type

$column

$column : 

The column name of the field.

Type

$value

$value : 

مقدار جاری از فیلد را تعیین می‌کند.

Type

$extra

$extra : 

سایر پارامترهای فیلد را تعیین می‌کند

Type

$methods

$methods : 

سایر متدهایی را تعیین می‌کند که توسط زیر کلاس‌های فیلد اضافه شده‌اند.

Type

Methods

__construct()

__construct(  $value = '',   $column = '',   $extra = array()) 

یک نمونه جدید از این کلاس ایجاد می‌کند.

Parameters

$value
$column
$extra

formField()

formField(  $def,   $form_field = 'Geo_Form_Field_Geometry') 

Gets form field

We put this method at the field level as it allows us to easily create a new DB field and a new Form field and use them without the need to modify another place where the mapping would be performed.

Parameters

$def
$form_field