| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 9 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | View Code Duplication | public function atom() |
|
| 27 | { |
||
| 28 | $atom = CwpAtomFeed::create( |
||
| 29 | $this->Updates()->sort('Created DESC')->limit(20), |
||
| 30 | $this->Link('atom'), |
||
| 31 | $this->getSubscriptionTitle() |
||
| 32 | ); |
||
| 33 | $atom->setTemplate('NewsHolder_atom'); |
||
| 34 | return $atom->outputToBrowser(); |
||
| 35 | } |
||
| 37 |