/** * Fill in record defaults. * * @param array $record * @return array */ protected function prepare_record(array $record) { $record = parent::prepare_record($record); if (!isset($record['fs_path'])) { $record['fs_path'] = '/i/do/not/exist'; } return $record; }
/** * Fill in record defaults. * * @param array $record * @return array */ protected function prepare_record(array $record) { $record = parent::prepare_record($record); if (!isset($record['webdav_type'])) { $record['webdav_type'] = 0; } if (!isset($record['webdav_server'])) { $record['webdav_server'] = 'webdav.server.local'; } if (!isset($record['webdav_port'])) { $record['webdav_port'] = ''; } if (!isset($record['webdav_path'])) { $record['webdav_path'] = '/'; } if (!isset($record['webdav_user'])) { $record['webdav_user'] = ''; } if (!isset($record['webdav_password'])) { $record['webdav_password'] = ''; } if (!isset($record['webdav_auth'])) { $record['webdav_auth'] = 'none'; } return $record; }
/** * Fill in type record defaults. * * @param array $record * @return array */ protected function prepare_type_record(array $record) { $record = parent::prepare_type_record($record); if (!isset($record['apikey'])) { $record['apikey'] = 'apikey'; } return $record; }
/** * Fill in type record defaults. * * @param array $record * @return array */ protected function prepare_type_record(array $record) { $record = parent::prepare_type_record($record); if (!isset($record['recentfilesnumber'])) { $record['recentfilesnumber'] = ''; } return $record; }
/** * Fill in record defaults. * * @param array $record * @return array */ protected function prepare_record(array $record) { $record = parent::prepare_record($record); if (!isset($record['alfresco_url'])) { $record['alfresco_url'] = 'http://no.where.com/alfresco/api'; } return $record; }
/** * Fill in type record defaults. * * @param array $record * @return array */ protected function prepare_type_record(array $record) { $record = parent::prepare_type_record($record); if (!isset($record['clientid'])) { $record['clientid'] = 'clientid'; } if (!isset($record['clientsecret'])) { $record['clientsecret'] = 'clientsecret'; } return $record; }
/** * Fill in type record defaults. * * @param array $record * @return array */ protected function prepare_type_record(array $record) { $record = parent::prepare_type_record($record); if (!isset($record['access_key'])) { $record['access_key'] = 'access_key'; } if (!isset($record['secret_key'])) { $record['secret_key'] = 'secret_key'; } if (!isset($record['endpoint'])) { $record['endpoint'] = 'endpoint'; } return $record; }
/** * Fill in type record defaults. * * @param array $record * @return array */ protected function prepare_type_record(array $record) { $record = parent::prepare_type_record($record); if (!isset($record['dropbox_key'])) { $record['dropbox_key'] = 'key'; } if (!isset($record['dropbox_secret'])) { $record['dropbox_secret'] = 'secret'; } if (!isset($record['dropbox_cachelimit'])) { $record['dropbox_cachelimit'] = 0; } return $record; }
/** * Fill in record defaults. * * @param array $record * @return array */ protected function prepare_record(array $record) { $record = parent::prepare_record($record); if (!isset($record['equella_url'])) { $record['equella_url'] = 'http://dummy.url.com'; } if (!isset($record['equella_select_restriction'])) { $record['equella_select_restriction'] = 'none'; } if (!isset($record['equella_options'])) { $record['equella_options'] = ''; } if (!isset($record['equella_shareid'])) { $record['equella_shareid'] = 'id'; } if (!isset($record['equella_sharesecret'])) { $record['equella_url'] = 'secret'; } return $record; }