/** * @return string[] * @access private */ protected function _prepare_restrictions() { parent::_prepare_restrictions(); $this->_calculated_restrictions[] = 'com.entry_id = ' . $this->_entry->id; }
/** * Set properties for the entry associated with a comment. * @param ENTRY $entry The entry whose properties should be set. * @access private */ protected function _prepare_entry($entry) { parent::_prepare_entry($entry); $entry->title = $this->db->f('entry_title'); $entry->state = $this->db->f('entry_state'); }