24 #require_once 'Zend/Pdf/Element/String.php'; 51 public static function escape($inStr)
53 return strtoupper(bin2hex($inStr));
68 while ($offset < strlen($inStr)) {
71 $offset += strspn($inStr,
"0123456789abcdefABCDEF", $offset);
73 $length += strlen(end($chunks));
76 $offset += strcspn($inStr,
"0123456789abcdefABCDEF", $offset);
78 if ($length % 2 != 0) {
84 return pack(
'H*' , implode($chunks));
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value