Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
59 | public function asXml() |
||
60 | { |
||
61 | if (!count($this->styles)) return '<border/>'; |
||
62 | |||
63 | $borderXml = ''; |
||
64 | foreach (array('left', 'right', 'top', 'bottom', 'diagonal') as $type) { |
||
65 | $borderXml .= $this->getTypeXml($type); |
||
66 | } |
||
67 | |||
68 | return sprintf('<border>%s</border>', $borderXml); |
||
69 | } |
||
70 | |||
85 |