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
framework
DB
Statement
Parameter.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\DB\Statement
;
7
18
class
Parameter
19
{
25
protected
$_value
=
null
;
26
35
protected
$_isBlob
=
false
;
36
41
protected
$_dataType
=
null
;
42
47
protected
$_length
=
null
;
48
53
protected
$_driverOptions
=
null
;
54
59
protected
$_additional
=
null
;
60
66
public
function
__construct
(
$value
)
67
{
68
$this->_value =
$value
;
69
$this->_additional = new \Magento\Framework\DataObject();
70
return
$this;
71
}
72
79
public
function
setValue
(
$value
)
80
{
81
$this->_value =
$value
;
82
return
$this;
83
}
84
90
public
function
getValue
()
91
{
92
return
$this->_value
;
93
}
94
105
public
function
setIsBlob
($isBlob)
106
{
107
$this->_isBlob = $isBlob;
108
return
$this;
109
}
110
120
public
function
getIsBlob
()
121
{
122
return
$this->_isBlob
;
123
}
124
131
public
function
setDataType
($dataType)
132
{
133
$this->_dataType = $dataType;
134
return
$this;
135
}
136
142
public
function
getDataType
()
143
{
144
return
$this->_dataType
;
145
}
146
153
public
function
setLength
($length)
154
{
155
$this->_length = $length;
156
return
$this;
157
}
158
164
public
function
getLength
()
165
{
166
return
$this->_length
;
167
}
168
175
public
function
setDriverOptions
($driverOptions)
176
{
177
$this->_driverOptions = $driverOptions;
178
return
$this;
179
}
180
186
public
function
getDriverOptions
()
187
{
188
return
$this->_driverOptions
;
189
}
190
198
public
function
setAdditional
($additional)
199
{
200
$this->_additional = $additional;
201
return
$this;
202
}
203
209
public
function
getAdditional
()
210
{
211
return
$this->_additional
;
212
}
213
219
public
function
__toString
()
220
{
221
return
(
string
)
$this->_value
;
222
}
223
229
public
function
toString
()
230
{
231
return
$this->
__toString
();
232
}
233
}
Magento\Framework\DB\Statement\Parameter\getIsBlob
getIsBlob()
Definition:
Parameter.php:120
Magento\Framework\DB\Statement
Definition:
Parameter.php:6
Magento\Framework\DB\Statement\Parameter\$_additional
$_additional
Definition:
Parameter.php:59
Magento\Framework\DB\Statement\Parameter\$_length
$_length
Definition:
Parameter.php:47
Magento\Framework\DB\Statement\Parameter\getDataType
getDataType()
Definition:
Parameter.php:142
Magento\Framework\DB\Statement\Parameter\$_isBlob
$_isBlob
Definition:
Parameter.php:35
Magento\Framework\DB\Statement\Parameter\setValue
setValue($value)
Definition:
Parameter.php:79
Magento\Framework\DB\Statement\Parameter\toString
toString()
Definition:
Parameter.php:229
$value
$value
Definition:
gender.phtml:16
Magento\Framework\DB\Statement\Parameter\__toString
__toString()
Definition:
Parameter.php:219
Magento\Framework\DB\Statement\Parameter\setLength
setLength($length)
Definition:
Parameter.php:153
Magento\Framework\DB\Statement\Parameter\$_dataType
$_dataType
Definition:
Parameter.php:41
Magento\Framework\DB\Statement\Parameter\$_value
$_value
Definition:
Parameter.php:25
Magento\Framework\DB\Statement\Parameter\getAdditional
getAdditional()
Definition:
Parameter.php:209
Magento\Framework\DB\Statement\Parameter\setDataType
setDataType($dataType)
Definition:
Parameter.php:131
Magento\Framework\DB\Statement\Parameter\setDriverOptions
setDriverOptions($driverOptions)
Definition:
Parameter.php:175
Magento\Framework\DB\Statement\Parameter\$_driverOptions
$_driverOptions
Definition:
Parameter.php:53
Magento\Framework\DB\Statement\Parameter\setIsBlob
setIsBlob($isBlob)
Definition:
Parameter.php:105
Magento\Framework\DB\Statement\Parameter\getLength
getLength()
Definition:
Parameter.php:164
Magento\Framework\DB\Statement\Parameter\setAdditional
setAdditional($additional)
Definition:
Parameter.php:198
Magento\Framework\DB\Statement\Parameter
Definition:
Parameter.php:18
Magento\Framework\DB\Statement\Parameter\getDriverOptions
getDriverOptions()
Definition:
Parameter.php:186
Magento\Framework\DB\Statement\Parameter\getValue
getValue()
Definition:
Parameter.php:90
Magento\Framework\DB\Statement\Parameter\__construct
__construct($value)
Definition:
Parameter.php:66