| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 1265 lines (42 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| project_init() X-Ref |
| Implementation of hook_init(). |
| project_help($path, $arg) X-Ref |
| No description |
| _project_taxonomy_help($vid = 0, $vocab_link = TRUE) X-Ref |
| Prints out a help message about how to configure the project vocabulary. param: $vid param: $vocab_link |
| project_block($op = 'list', $delta = 0, $edit = array() X-Ref |
| Implementation of hook_block(). |
| project_search_block_form($form_state, $node_type) X-Ref |
| No description |
| project_search_block_form_submit($form, &$form_state) X-Ref |
| No description |
| project_node_info() X-Ref |
| No description |
| project_perm() X-Ref |
| No description |
| project_db_rewrite_sql($query, $primary_table, $primary_field) X-Ref |
| Implementation of hook_db_rewrite_sql(). Both project (and, if enabled, project_issue) provide some permissions that restrict access to viewing projects (and issues). For these permissions to be globally honored by the system, db_rewrite_sql() has to check what permissions the current user has and restrict query results accordingly. If a user has 'access projects' and 'access project issues', they have full access, so there's nothing to re-write. If they have 'access own projects' and/or 'access own project issues', the resulting query should JOIN on {node} and ensure that the node type is not project_project or project_issue, or that the owner of the node is the current user. If they do not have any access to either, then we can just restrict the query based on the {node}.type column. |
| project_find_alias($query, $table) X-Ref |
| Find the table alias for a table in a query. param: $query param: return: |
| project_settings_form() X-Ref |
| Callback for the main settings page. |
| _project_get_vid() X-Ref |
| Returns the vocabulary id for projects. |
| project_term_path($term) X-Ref |
| Implementation of hook_term_path(). |
| project_taxonomy($op, $type, $array = NULL) X-Ref |
| Implementation of hook_taxonomy(). |
| project_project_access_any() X-Ref |
| Determine if the currently logged in user could have access to any project_project nodes. |
| project_menu() X-Ref |
| Implement hook_menu(). |
| project_node_load($arg) X-Ref |
| Menu loader callback to load a project node. param: $arg return: |
| project_edit_project_load($nid) X-Ref |
| Menu loader callback to load a project node if the edit tab needs subtabs. Load a project_project node if the given nid is a project_project node and if the user has permission to edit the project and if either the project_issue or project_release module exists. |
| project_check_admin_access($project, $cvs_access = NULL) X-Ref |
| No description |
| project_form_alter(&$form, &$form_state, $form_id) X-Ref |
| Implementation of form_alter. This removes the work of taxonomy.module's form_alter() so we can do our own taxonomy selection. |
| project_project_access($op, $node, $account) X-Ref |
| Implement hook_access(). |
| project_project_load($node) X-Ref |
| Implement hook_load(). |
| project_nodeapi(&$node, $op, $arg) X-Ref |
| hook_nodeapi() implementation. This just decides what type of node is being passed, and calls the appropriate type-specific hook. |
| project_build_query($sql_elements) X-Ref |
| Build a SQL statment from a structured array. param: $sql_elements return: |
| project_empty_query() X-Ref |
| Construct an empty query for project_build_query(). Set the default elements that will be used to construct the SQL statement. |
| _project_date($timestamp) X-Ref |
| Helper function for grouping nodes by date. |
| project_projects_select_options(&$project_urls, $issues = TRUE, $key_prefix = NULL) X-Ref |
| Returns an array of all projects on the system for use with select form elements. The keys are the project nid, and the values are the project names. If the project taxonomy is in use, the array will be sorted into the project categories with appropriate headers for each term. param: $project_urls param: $issues param: $key_prefix |
| project_quick_navigate_form() X-Ref |
| No description |
| project_quick_navigate_form_validate($form, $form_state) X-Ref |
| No description |
| project_quick_navigate_project_submit($form, &$form_state) X-Ref |
| No description |
| project_quick_navigate_title_form() X-Ref |
| No description |
| project_quick_navigate_title_project_validate($form, &$form_state) X-Ref |
| No description |
| project_quick_navigate_title_project_submit($form, &$form_state) X-Ref |
| No description |
| project_views_api() X-Ref |
| Implementation of hook_views_api(). |
| project_theme() X-Ref |
| Implementation of hook_theme(). |
| theme_project_term_list($terms, $path) X-Ref |
| No description |
| theme_project_summary($project) X-Ref |
| Theme a compact project view/summary. $project has the following fields: - title: Title - nid: Node id - body: Filtered description - term: String with the selected term name - version: String with the version - links: Array of links |
| theme_project_feed_icon($url, $title) X-Ref |
| Display an RSS feed icon for use on project nodes. |
| project_autocomplete_project($string = '') X-Ref |
| Return a string of valid project names for use with JS autocomplete fields. |
| project_autocomplete_project_user($uid, $string = '') X-Ref |
| Return a string of valid project names owned by a given user. |
| project_use_taxonomy() X-Ref |
| Returns whether or not the project module should use taxonomy-specific functionality. |
| project_use_cvs($project) X-Ref |
| Returns whether or not the project uses version control or not. |
| project_can_cache() X-Ref |
| Determines if the current site supports caching of project-related pages. The pages can be cached if: 1. Anonymous users have the 'access projects' permission. 2. No node access modules are installed. return: TRUE if the output can be cached, FALSE otherwise. |
| project_project_form_preview_submit($form, &$form_state) X-Ref |
| Intelligently merge project type terms selected by the user back into $node->taxonomy during a node preview. |
| project_project_type_vocabulary_validate($form, &$form_state) X-Ref |
| Present a validation error if the user tries to make the Project types vocabulary a free tagging vocabulary. |
| theme_project_type($term) X-Ref |
| Theme a project type item. |
| theme_project_type_description($term) X-Ref |
| Theme a project type description. |
| project_get_nid_from_uri($uri) X-Ref |
| Find a project node ID (nid) based on project short name (uri). param: $uri return: |
| project_get_uri_from_nid($nid) X-Ref |
| Find a project shortname (uri) based on project node ID (nid). param: $uri return: |
| project_get_project_from_menu() X-Ref |
| Get the project node context from the currently active menu, if any. return: |
| project_token_list($type) X-Ref |
| Implement hook_token_list() (from token.module) |
| project_token_values($type = 'all', $object = NULL) X-Ref |
| Implement hook_token_values() (from token.module) |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |