project_release.module

Version

1.66.2.4 (checked in on 2008/07/28 at 18:42:58 by dww)

Constants

Namesort iconDescription
PROJECT_RELEASE_DEFAULT_VERSION_FORMAT

Functions

Namesort iconDescription
project_release_accessImplementation of hook_access().
project_release_alter_project_formAlters the project_project node form to add release settings.See alsoproject_release_form_alter
project_release_alter_release_formAlters the project_release node form to handle the API taxonomy. If the vocabulary is empty, this removes the form elements.See alsoproject_release_form_alter
project_release_check_supported_versionsVerifies the data for supported release versions, and updates if necessary.
project_release_compatibility_listReturns a listing of all active project release compatibility terms in the system.
project_release_db_saveHelper method to take data out of a $node object and store it into the DB as necessary. Sadly, db_query() doesn't let us store NULL in the DB, since those get cast to 0. Therefore, we have to do some manual effort to dynamically create the...
project_release_deleteImplementation of hook_delete().
project_release_devel_cachesImplementation of devel_caches().
project_release_exists
project_release_file_downloadImplementation of hook_file_download().
project_release_formImplementation of hook_form().
project_release_form_alterImplementation of hook_form_alter().
project_release_get_api_taxonomyIf taxonomy is enabled, returns the taxonomy tree for the API compatibility vocabulary, otherwise, it returns false.
project_release_get_current_recommendedFinds the currently recommended release for a given project.
project_release_get_releasesGet an array of release nodes
project_release_get_versionReturns the formatted version string for a given release node.
project_release_get_version_formatReturns the version format string for a given project
project_release_insertImplementation of hook_insert().
project_release_listReturns a listing of project release nodes
project_release_loadImplementation of hook_load().
project_release_menuImplementation of hook_menu()
project_release_nodeapihook_nodeapi() implementation. This just decides what type of node is being passed, and calls the appropriate type-specific hook.See alsoproject_release_project_nodeapi()
project_release_node_infoImplementation of hook_node_info().
project_release_pick_project_formForm builder for a simple form to select a project when creating a new release (as the first "page", but this is not really a multi-page form).
project_release_pick_project_form_submit
project_release_pick_project_form_validate
project_release_pick_project_pageMenu callback to select a project when creating a new release.
project_release_project_edit_form
project_release_project_edit_form_submitSubmit handler when project admins use the releases subtab.See alsoproject_release_project_edit_releases
project_release_project_edit_form_validateValidates the project form regarding release-specific fields. Ensures that the version format string doesn't contain bad characters.See alsoproject_release_project_edit_releases
project_release_project_edit_releasesReleases subtab for the project edit tab.
project_release_project_nodeapihook_nodeapi implementation specific to "project_project" nodes (from the project.module)See alsoproject_release_nodeapi()
project_release_project_page_link_alterImplemenation of hook_project_page_link_alter().
project_release_project_releasesDisplay a list of releases for a given project
project_release_release_nodeapihook_nodeapi implementation specific to "project_release" nodes.
project_release_settings_formCallback for the main settings page.
project_release_settings_form_validate
project_release_tableGenerate a table of releases for a given project.
project_release_taxonomyImplementation of hook_taxonomy().
project_release_updateImplementation of hook_update().
project_release_validateImplementation of hook_validate().
project_release_version_filter_formCreates a form array for the "filter by version" selector when browsing projects on a site with 'project_release_browse_versions' enabled.See alsoproject_page_overview
project_release_version_filter_form_submit
project_release_version_filter_form_validate
project_release_viewImplementation of hook_view().
theme_project_release_download_linkGenerates the appropriate download link for a give file path. This function takes the 'project_release_download_base' setting into account, so it should be used everywhere a download link is made.
theme_project_release_download_table_rowHelper function to return an individual row for the download table.
theme_project_release_download_text_recommendedReturn the message text for recommended releases in the download table.
theme_project_release_download_text_snapshotReturn the message text for snapshot releases in the download table. See alsotheme_project_release_download_text_recommended
theme_project_release_download_text_supportedReturn the message text for supported releases in the download table. See alsotheme_project_release_download_text_recommended
theme_project_release_download_text_unsupportedReturn the message text for snapshot releases in the download table. See alsotheme_project_release_download_text_recommended
theme_project_release_form_value
theme_project_release_project_download_tableTheme the appropriate release download table for a project node.
theme_project_release_project_edit_form
theme_project_release_table_overviewTheme function that calls project_release_table().
theme_project_release_version_filter_form
_project_release_edit_version_major_form
_project_release_form_add_text_elementModifies the given $form array to add the appropriate form element for the desired text field. Since the 16+ lines of code in here have to be duplicated 5 times in project_release_form(), this function exists so we can reuse the code.See...
_project_release_form_add_version_elementModifies the given $form array to add the appropriate form element for the requested version field. Since the 20+ lines of code in here have to be duplicated 6 times in project_release_form(), this function exists so we can reuse the code.See...
_project_release_get_api_vidReturns the vocabulary id for project release API
_project_release_get_version_major_data
_project_release_validate_format_stringValidates a version format string. Only alphanumeric characters and [-_.] are allowed. Calls form_set_error() on error, else returns.