public hasSkipCheckField ( string $fieldName ) : boolean | ||
$fieldName | string | The field to check (can be a field alias) |
return | boolean | True if the field is skipped from checks, false if not or if the field doesn't exist. |
public function hasSkipCheckField($fieldName)
{
if (!is_array($this->fieldsSkipChecks)) {
$this->fieldsSkipChecks = array();
return false;
}
if (!$this->hasField($fieldName)) {
return false;
}
$fieldName = $this->getFieldAlias($fieldName);
return in_array($fieldName, $this->fieldsSkipChecks);
}