/** * Options for purging an object. * @param OBJECT_IN_FOLDER $obj * @return PURGE_OPTIONS * @access private */ protected function _purge_options_for($obj) { $Result = $obj->make_purge_options(); $Result->remove_resources = $this->value_for('remove_resources'); return $Result; }
/** * Delete the given object. * @param OBJECT_IN_FOLDER $obj * @access private */ public function commit($obj) { $options = $obj->make_purge_options(); $this->_configure_purge_options($options); $obj->purge($options); }