コード例 #1
0
ファイル: Backpage.php プロジェクト: nnrudakov/glabs
 /**
  * @inheritdoc
  */
 public function __construct($url, $title, $categoryId, $type, $count)
 {
     self::$pageParam = '&page=';
     $url = array_map(function ($item) {
         return $item . '?layout=summary';
     }, $url);
     parent::__construct($url, $title, $categoryId, $type, $count);
 }
コード例 #2
0
ファイル: Backpage.php プロジェクト: nnrudakov/glabs
 /**
  * @inheritdoc
  */
 public function __construct($url, $title, $categoryId, $type, $count)
 {
     parent::$pageParam = '?page=';
     parent::__construct($url, $title, $categoryId, $type, $count);
 }
コード例 #3
0
ファイル: Craigslist.php プロジェクト: nnrudakov/glabs
 /**
  * @inheritdoc
  */
 public function __construct(array $url, $title, $categoryId, $type, $count)
 {
     self::$pageParam = '?s=';
     parent::__construct($url, $title, $categoryId, $type, $count);
 }