Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
PHP ZEDx\Models Ad::trashed Examples
Programming Language:
PHP
Namespace/Package Name:
ZEDx\Models
Class/Type:
Ad
Method/Function:
trashed
Examples at hotexamples.com:
1
PHP ZEDx\Models Ad::trashed - 1 examples found
. These are the top rated real world PHP examples of
ZEDx\Models\Ad::trashed
extracted from open source projects. You can rate examples to help us improve the quality of examples.
Frequently Used Methods
Show
Hide
adstatus(3)
adtype(3)
save(3)
with(3)
delete(2)
category(2)
user(2)
fields(1)
forceDelete(1)
geolocation(1)
photos(1)
content(1)
restore(1)
trashed(1)
videos(1)
where(1)
whereAdstatusId(1)
whereIn(1)
reasons(1)
Frequently Used Methods
adstatus (3)
adtype (3)
save (3)
with (3)
delete (2)
category (2)
user (2)
fields (1)
forceDelete (1)
geolocation (1)
Frequently Used Methods
photos (1)
content (1)
restore (1)
trashed (1)
videos (1)
where (1)
whereAdstatusId (1)
whereIn (1)
reasons (1)
Example #1
0
Show file
File:
AdController.php
Project:
zedx/core
protected function restoreIfTrashed(Ad $ad) { if ($ad->trashed()) { $ad->restore(); } }