Example #1
0
 public function __construct($query = null)
 {
     parent::__construct();
     $this->query = !is_null($query) ? $query : input()->get('query', '');
     $this->artist = input()->get('artist', null);
     $this->pageIndex = input()->get('page', 0);
     $service = new beemp3();
     $service->search($this->query);
     $this->results = $service->getResults();
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->song = input()->get('song', '');
 }