PluginProbe
MBE eShip / trunk
MBE eShip vtrunk
2.8.1 trunk 1.0.0 1.1.0 1.1.3 1.2.1 1.2.2 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.7.1 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.0 2.1.1 2.1.2 2.2.1 All 37 releases
mail-boxes-etc / lib / dompdf / src / Frame / FrameTreeList.php

FrameTreeList.php in MBE eShip trunk, at lib/dompdf/src/Frame/FrameTreeList.php

36 lines 556 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Dompdf\Frame;
3
4 use IteratorAggregate;
5 use Dompdf\Frame;
6
7 /**
8 * Pre-order IteratorAggregate
9 *
10 * @access private
11 * @package dompdf
12 */
13 class FrameTreeList implements IteratorAggregate
14 {
15 /**
16 * @var \Dompdf\Frame
17 */
18 protected $_root;
19
20 /**
21 * @param \Dompdf\Frame $root
22 */
23 public function __construct(Frame $root)
24 {
25 $this->_root = $root;
26 }
27
28 /**
29 * @return FrameTreeIterator
30 */
31 public function getIterator()
32 {
33 return new FrameTreeIterator($this->_root);
34 }
35 }
36