Definition at line 35 of file Name.php.
◆ __construct()
Object constructor
- Parameters
-
- Exceptions
-
Definition at line 51 of file Name.php.
53 settype($val,
'string');
54 if (strpos($val,
"\x00") !==
false) {
55 #require_once 'Zend/Pdf/Exception.php'; 58 $this->
value = (string)$val;
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
◆ escape()
Escape string according to the PDF rules
- Parameters
-
- Returns
- string
Definition at line 79 of file Name.php.
84 $nextCode = ord($inStr[
$count]);
110 $outStr .= sprintf(
'#%02X', $nextCode);
114 if ($nextCode >= 33 && $nextCode <= 126 ) {
116 $outStr .= $inStr[
$count];
118 $outStr .= sprintf(
'#%02X', $nextCode);
◆ getType()
Return type of the element.
- Returns
- integer
Definition at line 67 of file Name.php.
◆ toString()
toString |
( |
|
$factory = null | ) |
|
Return object as string
- Parameters
-
- Returns
- string
Definition at line 157 of file Name.php.
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
◆ unescape()
static unescape |
( |
|
$inStr | ) |
|
|
static |
Unescape string according to the PDF rules
- Parameters
-
- Returns
- string
Definition at line 134 of file Name.php.
139 if ($inStr[
$count] !=
'#' ) {
140 $outStr .= $inStr[
$count];
143 $outStr .= chr(base_convert(substr($inStr,
$count+1, 2), 16, 10 ));
◆ $value
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Pdf/Element/Name.php