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