/** * @return string[] * @access private */ protected function _prepare_restrictions() { parent::_prepare_restrictions(); $this->_calculated_restrictions[] = 'com.entry_id = ' . $this->_entry->id; }
/** * Prepare security- and filter-based restrictions. * @access private */ protected function _prepare_restrictions() { parent::_prepare_restrictions(); $this->_calculated_restrictions[] = 'entry.folder_id = ' . $this->_folder->id; }