Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 22nd, 2018
72
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
try
{
$record
=
$this
->
findByPk
(
$id
)
;
$record
->
update
(
array
(
'is_active'
=>
0
,
'deleted_at'
=>
date
(
'Y-m-d G:i:s'
)
)
)
;
}
catch
(
CDbException
$e
)
{
echo
$e
->
getMessage
(
)
;
return
false
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
HA unavailable devices
Python | 4 min ago | 0.68 KB
jak co je funkcni 1,2,3,4, ci 1,2,3,0
Python | 14 min ago | 1.58 KB
Untitled
JSON | 15 min ago | 2.70 KB
ExileServer_system_network_event_onPlayerConn...
C++ | 24 min ago | 1.00 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 59 min ago | 0.39 KB
whenever user goes to /furnitures/furniture:i...
JSON | 1 hour ago | 0.55 KB
whenever user goes to /furnitures route
JSON | 1 hour ago | 3.17 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 2 hours ago | 0.39 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!