- Class name: CustomerCore
- Parent class: ObjectModel
- Source: classes/Customer.php line 28
- $_customerHasAddress
- $_customer_groups
- $_defaultGroupId
- $active
- $ape
- $birthday
- $company
- $date_add
- $date_upd
- $days
- $definition
- $deleted
- $firstname
- $geoloc_id_country
- $geoloc_id_state
- $geoloc_postcode
- $groupBox
- $id
- $id_default_group
- $id_gender
- $id_group_shop
- $id_guest
- $id_risk
- $id_shop
- $ip_registration_newsletter
- $is_guest
- $last_passwd_gen
- $lastname
- $logged
- $max_payment_days
- $months
- $newsletter
- $newsletter_date_add
- $note
- $optin
- $outstanding_allow_amount
- $passwd
- $secure_key
- $show_public_prices
- $siret
- $webserviceParameters
- $website
- $years
- $def
- $fieldsRequired
- $fieldsRequiredDatabase
- $fieldsRequiredLang
- $fieldsSize
- $fieldsSizeLang
- $fieldsValidate
- $fieldsValidateLang
- $id_lang
- $identifier
- $image_dir
- $image_format
- $table
- $tables
- __construct
- add
- addFieldsRequiredDatabase
- addGroups
- associateTo
- checkPassword
- cleanGroups
- clearCache
- customerExists
- customerHasAddress
- customerIdExists
- customerIdExistsStatic
- delete
- deleteImage
- deleteSelection
- displayFieldName
- duplicateShops
- existsInDatabase
- formatFields
- formatValue
- getAddresses
- getAddressesTotalById
- getBoughtProducts
- getByEmail
- getCurrentCountry
- getCustomers
- getDefaultGroupId
- getDefinition
- getEntity
- getFields
- getFieldsLang
- getFieldsRequiredDatabase
- getGroups
- getGroupsStatic
- getLastCart
- getLastConnections
- getOutstanding
- getStats
- getTranslationsFields
- getValidationRules
- getWebserviceObjectList
- getWebserviceParameters
- hydrate
- hydrateCollection
- isAssociatedToGroupShop
- isAssociatedToShop
- isBanned
- isCurrentlyUsed
- isGuest
- isLangMultishop
- isLogged
- isUsed
- logout
- makeTranslationFields
- mylogout
- resetAddressCache
- save
- searchByIp
- searchByName
- setDefinitionRetrocompatibility
- setWsPasswd
- toggleStatus
- transformToCustomer
- update
- updateGroup
- validateControler
- validateController
- validateField
- validateFields
- validateFieldsLang
protected mixed $_customerHasAddress = array()
- Visibility: protected
- This property is static.
- Source: classes/Customer.php line 188.
protected mixed $_customer_groups = array()
- Visibility: protected
- This property is static.
- Source: classes/Customer.php line 189.
protected mixed $_defaultGroupId = array()
- Visibility: protected
- This property is static.
- Source: classes/Customer.php line 187.
public boolean $active = true
- Visibility: public
- Source: classes/Customer.php line 103.
public string $ape
- Visibility: public
- Source: classes/Customer.php line 82.
public string $birthday = null
- Visibility: public
- Source: classes/Customer.php line 55.
public string $company
- Visibility: public
- Source: classes/Customer.php line 76.
public string $date_add
- Visibility: public
- Source: classes/Customer.php line 112.
public string $date_upd
- Visibility: public
- Source: classes/Customer.php line 115.
public mixed $days
- Visibility: public
- Source: classes/Customer.php line 118.
public mixed $definition = array('table' => 'customer', 'primary' => 'id_customer', 'fields' => array('secure_key' => array('type' => self::TYPE_STRING, 'validate' => 'isMd5'), 'lastname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32), 'firstname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32), 'email' => array('type' => self::TYPE_STRING, 'validate' => 'isEmail', 'required' => true, 'size' => 128), 'passwd' => array('type' => self::TYPE_STRING, 'validate' => 'isPasswd', 'required' => true, 'size' => 32), 'last_passwd_gen' => array('type' => self::TYPE_STRING), 'id_gender' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate'), 'newsletter' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'newsletter_date_add' => array('type' => self::TYPE_DATE), 'ip_registration_newsletter' => array('type' => self::TYPE_STRING), 'optin' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'website' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl'), 'company' => array('type' => self::TYPE_STRING, 'validate' => 'isName'), 'siret' => array('type' => self::TYPE_STRING, 'validate' => 'isSiret'), 'ape' => array('type' => self::TYPE_STRING, 'validate' => 'isApe'), 'outstanding_allow_amount' => array('type' => self::TYPE_INT, 'validate' => 'isFloat'), 'show_public_prices' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'id_risk' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'), 'max_payment_days' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'), 'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'deleted' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'note' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'size' => 65000), 'is_guest' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'id_shop' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 'id_group_shop' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 'id_default_group' => array('type' => self::TYPE_INT), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDate')))
- Visibility: public
- This property is static.
- Source: classes/Customer.php line 151.
public boolean $deleted
- Visibility: public
- Source: classes/Customer.php line 109.
public string $email
- Visibility: public
- Source: classes/Customer.php line 58.
public string $firstname
- Visibility: public
- Source: classes/Customer.php line 52.
public integer $geoloc_id_country
- Visibility: public
- Source: classes/Customer.php line 122.
public integer $geoloc_id_state
- Visibility: public
- Source: classes/Customer.php line 124.
public string $geoloc_postcode
- Visibility: public
- Source: classes/Customer.php line 126.
public mixed $groupBox
- Visibility: public
- Source: classes/Customer.php line 134.
public mixed $id
- Visibility: public
- Source: classes/Customer.php line 30.
public integer $id_default_group = _PS_DEFAULT_CUSTOMER_GROUP_
- Visibility: public
- Source: classes/Customer.php line 46.
public integer $id_gender
- Visibility: public
- Source: classes/Customer.php line 43.
public mixed $id_group_shop
- Visibility: public
- Source: classes/Customer.php line 34.
public integer $id_guest
- Visibility: public
- Source: classes/Customer.php line 132.
public integer $id_risk
- Visibility: public
- Source: classes/Customer.php line 91.
public mixed $id_shop
- Visibility: public
- Source: classes/Customer.php line 32.
public string $ip_registration_newsletter
- Visibility: public
- Source: classes/Customer.php line 64.
public boolean $is_guest
- Visibility: public
- Source: classes/Customer.php line 106.
public \datetime $last_passwd_gen
- Visibility: public
- Source: classes/Customer.php line 100.
public string $lastname
- Visibility: public
- Source: classes/Customer.php line 49.
public boolean $logged
- Visibility: public
- Source: classes/Customer.php line 129.
public integer $max_payment_days
- Visibility: public
- Source: classes/Customer.php line 94.
public mixed $months
- Visibility: public
- Source: classes/Customer.php line 119.
public boolean $newsletter
- Visibility: public
- Source: classes/Customer.php line 61.
public string $newsletter_date_add
- Visibility: public
- Source: classes/Customer.php line 67.
public string $note
- Visibility: public
- Source: classes/Customer.php line 40.
public boolean $optin
- Visibility: public
- Source: classes/Customer.php line 70.
public float $outstanding_allow_amount
- Visibility: public
- Source: classes/Customer.php line 85.
public integer $passwd
- Visibility: public
- Source: classes/Customer.php line 97.
public string $secure_key
- Visibility: public
- Source: classes/Customer.php line 37.
public integer $show_public_prices
- Visibility: public
- Source: classes/Customer.php line 88.
public string $siret
- Visibility: public
- Source: classes/Customer.php line 79.
protected mixed $webserviceParameters = array('fields' => array('id_default_group' => array('xlink_resource' => 'groups'), 'newsletter_date_add' => array(), 'ip_registration_newsletter' => array(), 'last_passwd_gen' => array('setter' => null), 'secure_key' => array('setter' => null), 'deleted' => array(), 'passwd' => array('setter' => 'setWsPasswd')))
- Visibility: protected
- Source: classes/Customer.php line 136.
public string $website
- Visibility: public
- Source: classes/Customer.php line 73.
public mixed $years
- Visibility: public
- Source: classes/Customer.php line 117.
protected array $def
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 122.
protected mixed $fieldsRequired = array()
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 72.
protected mixed $fieldsRequiredDatabase = null
- Visibility: protected
- This property is static.
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 57.
protected mixed $fieldsRequiredLang = array()
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 87.
protected mixed $fieldsSize = array()
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 77.
protected mixed $fieldsSizeLang = array()
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 92.
protected mixed $fieldsValidate = array()
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 82.
protected mixed $fieldsValidateLang = array()
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 97.
protected integer $id_lang = null
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 51.
protected mixed $identifier
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 67.
protected string $image_dir = null
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 108.
protected string $image_format = 'jpg'
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 111.
protected mixed $table
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 62.
protected mixed $tables = array()
- Visibility: protected
- This property is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 102.
mixed ObjectModelCore::__construct(integer $id, integer $id_lang, integer $id_shop)
Build object
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 150
- $id integer - Existing object id in order to load object (optional)
- $id_lang integer - Required if object is multilingual (optional)
- $id_shop integer - ID shop for objects with multishop on langs
mixed CustomerCore::add($autodate, $null_values)
- Visibility: public
- Source: classes/Customer.php line 191
- $autodate mixed
- $null_values mixed
mixed ObjectModelCore::addFieldsRequiredDatabase($fields)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 961
- $fields mixed
mixed CustomerCore::addGroups($groups)
- Visibility: public
- Source: classes/Customer.php line 532
- $groups mixed
boolean ObjectModelCore::associateTo(integer|array $id_shops, string $type)
This function associate an item to its context
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1009
- $id_shops integer|array
- $type string
boolean CustomerCore::checkPassword($id_customer, string $passwd)
Check if customer password is the right one
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 400
- $id_customer mixed
- $passwd string - Password
mixed CustomerCore::cleanGroups()
- Visibility: public
- Source: classes/Customer.php line 527
mixed ObjectModelCore::clearCache($all)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 975
- $all mixed
\Customer CustomerCore::customerExists(string $email, $return_id, $ignore_guest, \Shop $shop)
Check if e-mail is already registered in database
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 314
- $email string - e-mail
- $return_id mixed - boolean
- $ignore_guest mixed - boolean, to exclude guest customer
- $shop Shop
boolean CustomerCore::customerHasAddress(integer $id_customer, integer $id_address)
Check if an address is owned by a customer
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 341
- $id_customer integer - Customer ID
- $id_address integer - Address ID
mixed CustomerCore::customerIdExists($id_customer)
- Visibility: public
- Source: classes/Customer.php line 498
- $id_customer mixed
mixed CustomerCore::customerIdExistsStatic($id_customer)
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 503
- $id_customer mixed
mixed CustomerCore::delete()
- Visibility: public
- Source: classes/Customer.php line 221
boolean ObjectModelCore::deleteImage()
Delete images associated with the object
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1079
boolean ObjectModelCore::deleteSelection(array $selection)
Delete several objects from database
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 553
- $selection array
mixed ObjectModelCore::displayFieldName($field, $className, $htmlentities, \Context $context)
- Visibility: public
- This method is static.
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 740
- $field mixed
- $className mixed
- $htmlentities mixed
- $context Context
mixed ObjectModelCore::duplicateShops($id)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1049
- $id mixed
boolean ObjectModelCore::existsInDatabase(integer $id_entity, string $table)
Specify if an ObjectModel is already in database
- Visibility: public
- This method is static.
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1113
- $id_entity integer
- $table string
array ObjectModelCore::formatFields(integer $id_lang)
- Visibility: protected
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 272
- $id_lang integer - If this parameter is given, only take lang fields
mixed ObjectModelCore::formatValue(mixed $value, integer $type, $with_quotes)
Format a data
- Visibility: public
- This method is static.
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 319
- $value mixed
- $type integer
- $with_quotes mixed
array CustomerCore::getAddresses(integer $id_lang)
Return customer addresses
- Visibility: public
- Source: classes/Customer.php line 367
- $id_lang integer - Language ID
integer CustomerCore::getAddressesTotalById(integer $id_customer)
Count the number of addresses for a customer
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 384
- $id_customer integer - Customer ID
mixed CustomerCore::getBoughtProducts()
- Visibility: public
- Source: classes/Customer.php line 573
\Customer CustomerCore::getByEmail(string $email, string $passwd, \Shop $shop)
Return customer instance from its e-mail (optionnaly check password)
- Visibility: public
- Source: classes/Customer.php line 258
- $email string - e-mail
- $passwd string - Password is also checked if specified
- $shop Shop
mixed CustomerCore::getCurrentCountry($id_customer, \Cart $cart)
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 595
- $id_customer mixed
- $cart Cart
array CustomerCore::getCustomers(\Shop $shop)
Return customers list
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 239
- $shop Shop
mixed CustomerCore::getDefaultGroupId($id_customer)
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 581
- $id_customer mixed
mixed ObjectModelCore::getDefinition($class, $field)
- Visibility: public
- This method is static.
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1209
- $class mixed
- $field mixed
mixed ObjectModelCore::getEntity($entity)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1269
- $entity mixed
array ObjectModelCore::getFields()
Prepare fields for ObjectModel class (add, update) All fields are verified (pSQL, intval.
..)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 234
array ObjectModelCore::getFieldsLang()
Prepare multilang fields
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 249
mixed ObjectModelCore::getFieldsRequiredDatabase($all)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 953
- $all mixed
mixed CustomerCore::getGroups()
- Visibility: public
- Source: classes/Customer.php line 559
mixed CustomerCore::getGroupsStatic($id_customer)
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 541
- $id_customer mixed
mixed CustomerCore::getLastCart()
- Visibility: public
- Source: classes/Customer.php line 719
mixed CustomerCore::getLastConnections()
- Visibility: public
- Source: classes/Customer.php line 478
mixed CustomerCore::getOutstanding()
- Visibility: public
- Source: classes/Customer.php line 729
array CustomerCore::getStats()
Return several useful statistics about customer
- Visibility: public
- Source: classes/Customer.php line 454
mixed ObjectModelCore::getTranslationsFields($fieldsArray)
- Visibility: protected
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 589
- $fieldsArray mixed
array ObjectModelCore::getValidationRules(string $className)
Returns object validation rules (fields validity)
- Visibility: public
- This method is static.
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 130
- $className string - Child class name for static use (optional)
mixed ObjectModelCore::getWebserviceObjectList($sql_join, $sql_filter, $sql_sort, $sql_limit)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 929
- $sql_join mixed
- $sql_filter mixed
- $sql_sort mixed
- $sql_limit mixed
mixed ObjectModelCore::getWebserviceParameters($wsParamsAttributeName)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 799
- $wsParamsAttributeName mixed
mixed ObjectModelCore::hydrate(array $data, integer $id_lang)
Fill an object with given data. Data must be an array with this syntax: array(objProperty => value, objProperty2 => value, etc.)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1148
- $data array
- $id_lang integer
array ObjectModelCore::hydrateCollection(string $class, array $datas, integer $id_lang)
Fill (hydrate) a list of objects in order to get a collection of these objects
- Visibility: public
- This method is static.
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1167
- $class string - Class of objects to hydrate
- $datas array - List of data (multi-dimensional array)
- $id_lang integer
boolean ObjectModelCore::isAssociatedToGroupShop(integer $id_group_shop)
Check if current object is associated to a group shop
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1035
- $id_group_shop integer
boolean ObjectModelCore::isAssociatedToShop(integer $id_shop)
Check if current object is associated to a shop
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 990
- $id_shop integer
boolean CustomerCore::isBanned($id_customer)
Check id the customer is active or not
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 291
- $id_customer mixed
boolean ObjectModelCore::isCurrentlyUsed(string $table, boolean $has_active_column)
This method is allow to know if a entity is currently used
- Visibility: public
- This method is static.
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1131
- $table string - name of table linked to entity
- $has_active_column boolean - true if the table has an active column
mixed CustomerCore::isGuest()
- Visibility: public
- Source: classes/Customer.php line 624
mixed ObjectModelCore::isLangMultishop()
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1069
boolean CustomerCore::isLogged(boolean $with_guest)
Check customer informations and return customer validity
- Visibility: public
- Source: classes/Customer.php line 683
- $with_guest boolean
mixed CustomerCore::isUsed()
- Visibility: public
- Source: classes/Customer.php line 567
mixed CustomerCore::logout()
Logout
- Visibility: public
- Source: classes/Customer.php line 699
mixed ObjectModelCore::makeTranslationFields($fields, $fieldsArray, $id_language)
- Visibility: protected
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 605
- $fields mixed
- $fieldsArray mixed
- $id_language mixed
mixed CustomerCore::mylogout()
Soft logout, delete everything links to the customer but leave there affiliate's informations
- Visibility: public
- Source: classes/Customer.php line 712
mixed CustomerCore::resetAddressCache($id_customer)
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 355
- $id_customer mixed
boolean ObjectModelCore::save(boolean $null_values, boolean $autodate)
Save current object to database (add or update)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 360
- $null_values boolean
- $autodate boolean
mixed CustomerCore::searchByIp(string $ip)
Search for customers by ip address
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 439
- $ip string - Searched string
array CustomerCore::searchByName(string $query, \Shop $shop)
Light back office search for customers
- Visibility: public
- This method is static.
- Source: classes/Customer.php line 418
- $query string - Searched string
- $shop Shop
mixed ObjectModelCore::setDefinitionRetrocompatibility()
Retrocompatibility for classes without $definition static Remove this in 1.6 !
- Visibility: protected
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 1224
mixed CustomerCore::setWsPasswd($passwd)
- Visibility: public
- Source: classes/Customer.php line 664
- $passwd mixed
mixed CustomerCore::toggleStatus()
- Visibility: public
- Source: classes/Customer.php line 612
mixed CustomerCore::transformToCustomer($id_lang, $password)
- Visibility: public
- Source: classes/Customer.php line 629
- $id_lang mixed
- $password mixed
mixed CustomerCore::update($nullValues)
- Visibility: public
- Source: classes/Customer.php line 212
- $nullValues mixed
mixed CustomerCore::updateGroup(array $list)
Update customer groups associated to the object
- Visibility: public
- Source: classes/Customer.php line 518
- $list array - groups
mixed ObjectModelCore::validateControler($htmlentities)
TODO: refactor rename all calls to this to validateController
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 753
- $htmlentities mixed
mixed ObjectModelCore::validateController($htmlentities)
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 759
- $htmlentities mixed
boolean|string ObjectModelCore::validateField(string $field, mixed $value, integer $id_lang)
Validate a single field
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 704
- $field string - Field name
- $value mixed - Field value
- $id_lang integer
boolean|string ObjectModelCore::validateFields(boolean $die, boolean $error_return)
Check for fields validity before database interaction
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 643
- $die boolean
- $error_return boolean
boolean|string ObjectModelCore::validateFieldsLang(boolean $die, boolean $error_return)
Check for multilingual fields validity before database interaction
- Visibility: public
- This method is defined by ObjectModelCore.
- Source: classes/ObjectModel.php line 669
- $die boolean
- $error_return boolean