lib/Pages.php
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function addProcSet(Objects\Basic\ArrayObject $procSet)
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function render(): string
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Add proc set.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Object name.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
foreach ($this->children as $child) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->procSet = $procSet;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param \YetiForcePDF\Objects\Basic\ArrayObject $procSet
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return $this
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var string
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
->addValue('Count', (string) \count($kids))
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $name = 'Pages';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* {@inheritdoc}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* {@inheritdoc}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $this;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
->addValue('Type', '/Pages')
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->addValue('ProcSet', $this->procSet->getReference());
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Proc Set.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return parent::render();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$kids = [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ($this->procSet) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$kids[] = $child->getReference();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
->addValue('Kids', '[' . implode("\n ", $kids) . ']');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $dictionaryType = 'Pages';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var \YetiForcePDF\Objects\Basic\ArrayObject
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $procSet;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->clearValues()
- Exclude checks