Class waContactField
This file is part of Webasyst framework.
Licensed under the terms of the GNU Lesser General Public License (LGPL). http://www.webasyst.com/framework/license/
Direct known subclasses
waContactBirthdayField, waContactCheckboxField, waContactCompositeField, waContactConditionalField, waContactDateField, waContactHiddenField, waContactPasswordField, waContactRegionField, waContactSelectField, waContactStringFieldIndirect known subclasses
waContactAddressField, waContactBranchField, waContactRadioSelectField, waContactTextField, waContactTimezoneField, waContactUrlField, waContactCategoriesField, waContactChecklistField, waContactCountryField, waContactEmailField, waContactLocaleField, waContactNameField, waContactNumberField, waContactPhoneFieldPackage: wa-system\Contact
Copyright: 2011 Webasyst LLC
License: LGPL
Author: Webasyst LLC
Link: http://www.webasyst.com/
Located at wa-system/contact/waContactField.class.php
public
|
|
protected
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
set(
Prepare value to be stored in DB. Data returned will be validated and later passed to $this->getStorage()->set(). For non-multi fields return string or array(value=>string, ext=>string). For multi fields return list of arrays(value=>string, ext=>string); ext is optional, see $this->isExt() |
protected
mixed
|
|
public
|
|
public
array|string|null
|
#
validateUnique( mixed $data, integer $contactId = null )
Check field value to be unique, if field is set up as unique. |
public
array|string|null
|
|
public
|
|
protected
|
|
public
|
|
public
string
|
|
public
array|null
|
#
getParameter( mixed $p )
Get the current value of option $p. Used by a Field Constructor editor to access field parameters. |
public
|
#
setParameter( mixed $p, mixed $value )
Set the value of option $p. Used by a Field Constructor editor to change field parameters. |
public
|
|
public
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public
|
protected
mixed
|
$id |
|
|
protected
array
|
$options |
|
#
Available options array( |
protected
array
|
$name | array() |
#
(locale => name) |
protected
mixed
|
$_type |
|
#
used by __set_state() |