src/MalScraper/Model/General/PeopleModel.php
private function setBiodata()
    {
        $html = $this->_parser->find('#content table tr', 0)->find('td', 0);
        $biodata = $html->innertext;
        $useless_biodata = '';
        $useless_area = $html->find('div', 0);
        for ($i = 0; $i < 4; $i++) {
            $useless_biodata .= $useless_area->outertext;
            $useless_area = $useless_area->next_sibling();
        }
        $biodata = str_replace($useless_biodata, '', $biodata);
        $this->_biodata = preg_replace("/([\s])+/", ' ', $biodata);
    }
private function setBiodata()
    {
        $html = $this->_parser->find('#content table tr', 0)->find('td', 0);
        $biodata = $html->innertext;
        $useless_biodata = '';
        $useless_area = $html->find('div', 0);
        for ($i = 0; $i < 4; $i++) {
            $useless_biodata .= $useless_area->outertext;
            $useless_area = $useless_area->next_sibling();
        }
        $biodata = str_replace($useless_biodata, '', $biodata);
        $this->_biodata = preg_replace("/([\s])+/", ' ', $biodata);
    }
private function setBiodata ( ) { $ html = $ this -> _parser -> find ( '#content table tr' , 0 ) -> find ( 'td' , 0 ) ; $ biodata = $ html -> innertext ; $ useless_biodata = '' ; $ useless_area = $ html -> find ( 'div' , 0 ) ; for ( $ i = 0 ; $ i < 4 ; $ i ++ ) { $ useless_biodata .= $ useless_area -> outertext ; $ useless_area = $ useless_area -> next_sibling ( ) ; } $ biodata = str_replace ( $ useless_biodata , '' , $ biodata ) ; $ this -> _biodata = preg_replace ( "/([\s])+/" , ' ' , $ biodata ) ; }
Set people biodata.

@return void
Set people biodata .