| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function __construct($type, $id, $parserArea = '#content table tr td') |
||
| 36 | { |
||
| 37 | $this->_type = $type; |
||
| 38 | $this->_id = $id; |
||
| 39 | if ($this->_type == 'people') { |
||
| 40 | $this->_url = $this->_myAnimeListUrl.'/people/'.$id; |
||
| 41 | } else { |
||
| 42 | $this->_url = $this->_myAnimeListUrl.'/character/'.$id; |
||
| 43 | } |
||
| 44 | $this->_parserArea = $parserArea; |
||
| 45 | |||
| 46 | parent::errorCheck($this); |
||
| 47 | } |
||
| 102 | } |