mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 15:26:10 -06:00
commit
cbb5679909
@ -0,0 +1,11 @@
|
|||||||
|
<?php namespace Visiosoft\AdvsModule\Adv;
|
||||||
|
|
||||||
|
class AdvApiCollection extends AdvRepository
|
||||||
|
{
|
||||||
|
public function getMyAds()
|
||||||
|
{
|
||||||
|
return $this->model->userAdv()
|
||||||
|
->where('advs_advs.finish_at', '>', date('Y-m-d H:i:s'));
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user