public static function data(array $fetchParams, array $userParameters, $baseUri, $query = '')
 {
     $self = new self($fetchParams, $userParameters, $baseUri, $query);
     $self->getNavigation();
     $self->getContents();
     return $self->data;
 }
Example #2
0
 public static function getFileContents($path)
 {
     $f = new self($path);
     return $f->getContents();
 }
 public function actionIndex()
 {
     echo 'Loading.....';
     $get = new self();
     $content = $get->getContents(self::NomorNetKodePosBaseUrl);
     $pq = phpQuery::newDocumentHTML($content);
     echo "\n";
     $get->getRows($pq);
 }