| Conditions | 6 |
| Paths | 32 |
| Total Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | private function handleNode( DOMNode $node ) { |
||
| 28 | if ( $this->hasElementName( $node, 'id' ) ) { |
||
| 29 | $this->id = $node->textContent; |
||
| 30 | } |
||
| 31 | |||
| 32 | if ( $this->hasElementName( $node, 'model' ) ) { |
||
| 33 | $this->model = $node->textContent; |
||
| 34 | } |
||
| 35 | |||
| 36 | if ( $this->hasElementName( $node, 'format' ) ) { |
||
| 37 | $this->format = $node->textContent; |
||
| 38 | } |
||
| 39 | |||
| 40 | if ( $this->hasElementName( $node, 'text' ) ) { |
||
| 41 | $this->text = $node->textContent; |
||
| 42 | } |
||
| 43 | |||
| 44 | if ( $this->hasElementName( $node, 'timestamp' ) ) { |
||
| 45 | $this->timeStamp = $node->textContent; |
||
| 46 | } |
||
| 47 | } |
||
| 48 | |||
| 63 | } |