/**
docs.ssmods.com
Overview
Namespaces
Classes
Source
Overview
Classes
BlogPost
onBeforePublish
Introduction
Synopsis
Source
BlogPost::
onBeforePublish
Update the PublishDate to now, if being published for the first time, and the date hasn't been set to the future.
Signature
public function onBeforePublish()