Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
zendframework1
library
Zend
Validate
Db
NoRecordExists.php
Go to the documentation of this file.
1
<?php
25
#require_once 'Zend/Validate/Db/Abstract.php';
26
36
class
Zend_Validate_Db_NoRecordExists
extends
Zend_Validate_Db_Abstract
37
{
38
public
function
isValid
(
$value
)
39
{
40
$valid =
true
;
41
$this->
_setValue
(
$value
);
42
43
$result
= $this->
_query
(
$value
);
44
if
(
$result
) {
45
$valid =
false
;
46
$this->
_error
(self::ERROR_RECORD_FOUND);
47
}
48
49
return
$valid;
50
}
51
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Zend_Validate_Db_Abstract\_query
_query($value)
Definition:
Abstract.php:341
Zend_Validate_Db_NoRecordExists
Definition:
NoRecordExists.php:36
Zend_Validate_Abstract\_error
_error($messageKey, $value=null)
Definition:
Abstract.php:284
$value
$value
Definition:
gender.phtml:16
Zend_Validate_Abstract\_setValue
_setValue($value)
Definition:
Abstract.php:303
Zend_Validate_Db_Abstract
Definition:
Abstract.php:36
Zend_Validate_Db_NoRecordExists\isValid
isValid($value)
Definition:
NoRecordExists.php:38