[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/ -> project_api.php (summary)

Project API

Copyright: Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 804 lines (25 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 30 functions

  project_cache_row()
  project_cache_array_rows()
  project_cache_all()
  project_clear_cache()
  project_exists()
  project_ensure_exists()
  project_is_name_unique()
  project_ensure_name_unique()
  project_includes_user()
  project_create()
  project_delete()
  project_update()
  project_copy_custom_fields()
  project_get_id_by_name()
  project_get_row()
  project_get_all_rows()
  project_get_field()
  project_get_name()
  project_get_local_user_access_level()
  project_get_local_user_rows()
  project_get_all_user_rows()
  project_add_user()
  project_update_user_access()
  project_set_user_access()
  project_remove_user()
  project_remove_all_users()
  project_copy_users()
  project_delete_all_files()
  project_format_id()
  project_file_is_name_unique()

Functions
Functions that are not part of a class:

project_cache_row( $p_project_id, $p_trigger_errors = true )   X-Ref
No description

project_cache_array_rows( $p_project_id_array )   X-Ref
No description

project_cache_all()   X-Ref
No description

project_clear_cache( $p_project_id = null )   X-Ref
No description

project_exists( $p_project_id )   X-Ref
No description

project_ensure_exists( $p_project_id )   X-Ref
No description

project_is_name_unique( $p_name )   X-Ref
No description

project_ensure_name_unique( $p_name )   X-Ref
No description

project_includes_user( $p_project_id, $p_user_id )   X-Ref
No description

project_create( $p_name, $p_description, $p_status, $p_view_state = VS_PUBLIC, $p_file_path = '', $p_enabled = true, $p_inherit_global = true )   X-Ref
No description

project_delete( $p_project_id )   X-Ref
No description

project_update( $p_project_id, $p_name, $p_description, $p_status, $p_view_state, $p_file_path, $p_enabled, $p_inherit_global )   X-Ref
No description

project_copy_custom_fields( $p_destination_id, $p_source_id )   X-Ref
No description

project_get_id_by_name( $p_project_name )   X-Ref
No description

project_get_row( $p_project_id, $p_trigger_errors = true )   X-Ref
No description

project_get_all_rows()   X-Ref
No description

project_get_field( $p_project_id, $p_field_name, $p_trigger_errors = true )   X-Ref
No description

project_get_name( $p_project_id, $p_trigger_errors = true )   X-Ref
No description

project_get_local_user_access_level( $p_project_id, $p_user_id )   X-Ref
No description

project_get_local_user_rows( $p_project_id )   X-Ref
No description

project_get_all_user_rows( $p_project_id = ALL_PROJECTS, $p_access_level = ANYBODY, $p_include_global_users = true )   X-Ref
No description

project_add_user( $p_project_id, $p_user_id, $p_access_level )   X-Ref
No description

project_update_user_access( $p_project_id, $p_user_id, $p_access_level )   X-Ref
No description

project_set_user_access( $p_project_id, $p_user_id, $p_access_level )   X-Ref
No description

project_remove_user( $p_project_id, $p_user_id )   X-Ref
No description

project_remove_all_users( $p_project_id, $p_access_level_limit = null )   X-Ref
Delete all users from the project user list for a given project. This is
useful when deleting or closing a project. The $p_access_level_limit
parameter can be used to only remove users from a project if their access
level is below or equal to the limit.

param: int Project ID
param: int Access level limit (null = no limit)
return: true

project_copy_users( $p_destination_id, $p_source_id, $p_access_level_limit = null )   X-Ref
Copy all users and their permissions from the source project to the
destination project. The $p_access_level_limit parameter can be used to
limit the access level for users as they're copied to the destination
project (the highest access level they'll receieve in the destination
project will be equal to $p_access_level_limit).

param: int Destination project ID
param: int Source project ID
param: int Access level limit (null = no limit)
return: null

project_delete_all_files( $p_project_id )   X-Ref
No description

project_format_id( $p_project_id )   X-Ref
No description

project_file_is_name_unique( $p_name )   X-Ref
No description



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7