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
Pdf
Element
Boolean.php
Go to the documentation of this file.
1
<?php
24
#require_once 'Zend/Pdf/Element.php';
25
26
35
class
Zend_Pdf_Element_Boolean
extends
Zend_Pdf_Element
36
{
42
public
$value
;
43
44
51
public
function
__construct
($val)
52
{
53
if
(! is_bool($val)) {
54
#require_once 'Zend/Pdf/Exception.php';
55
throw
new
Zend_Pdf_Exception
(
'Argument must be boolean.'
);
56
}
57
58
$this->
value
= $val;
59
}
60
61
67
public
function
getType
()
68
{
69
return
Zend_Pdf_Element::TYPE_BOOL
;
70
}
71
72
79
public
function
toString
(
$factory
=
null
)
80
{
81
return
$this->
value
?
'true'
:
'false'
;
82
}
83
}
Zend_Pdf_Element\TYPE_BOOL
const TYPE_BOOL
Definition:
Element.php:32
Zend_Pdf_Element_Boolean\getType
getType()
Definition:
Boolean.php:67
value
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition:
block.php:9
Zend_Pdf_Element
Definition:
Element.php:30
Zend_Pdf_Element_Boolean\toString
toString($factory=null)
Definition:
Boolean.php:79
$factory
$factory
Definition:
category_multiple_stores.php:10
Zend_Pdf_Element_Boolean\__construct
__construct($val)
Definition:
Boolean.php:51
Zend_Pdf_Element_Boolean\$value
$value
Definition:
Boolean.php:42
Zend_Pdf_Exception
Definition:
Exception.php:51
Zend_Pdf_Element_Boolean
Definition:
Boolean.php:35