Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Data Model Questions
SilverStripe Forums » Data Model Questions » Checking if the page being deleted is a draft
|
Page:
1
|
Go to End | |
| Author | Topic: Checking if the page being deleted is a draft | 145 Views |
-
Checking if the page being deleted is a draft

2 July 2009 at 12:19am
Is this possible?
I set up a couple of onBeforeDelete() functions to make sure the relationships don't brake when the page is deleted.
However I only want this to run if the page is deleted "for real" not when it's deleted from the draft site.Is there some easy way to check if the page is a draft?
Kindly, Marcus.
| 145 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: JoshuaLewis, Euphemismus
Welcome to our latest member: fearofbuttons

