Пример #1
0
 private function getPerlTablesUrlList()
 {
     $client = new Client();
     $list = array();
     $page = $client->fetch('http://cpansearch.perl.org/src/SBURKE/Text-Unidecode-' . self::LIB_VERSION . '/lib/Text/Unidecode/');
     foreach (StringParser::create($page)->innerAll('.pm">', '</a>') as $xXXpm) {
         $list[] = 'http://cpansearch.perl.org/src/SBURKE/Text-Unidecode-' . self::LIB_VERSION . '/lib/Text/Unidecode/' . $xXXpm;
     }
     return $list;
 }
Пример #2
0
 public function deleteAll()
 {
     $this->http->reset()->post = array('deleteAll');
     $this->http->fetch($this->dsnUrl);
 }