/** * Set up this object so it will {@link store()} a new object. */ public function initialize_as_new() { parent::initialize_as_new(); $this->entry_id = 0; }
/** * Set up this object so it will {@link store()} a new object. */ public function initialize_as_new() { parent::initialize_as_new(); $this->time_published->clear(); $this->publisher_id = 0; $this->state = Draft; }