[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/modules/projects/ -> projects.class.php (summary)

(no description)

Version: $Revision: 193 $
File Size: 1036 lines (36 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CProject:: (24 methods):
  CProject()
  check()
  load()
  canDelete()
  delete()
  importTasks()
  getAllowedRecords()
  getAllowedSQL()
  setAllowedSQL()
  getDeniedRecords()
  getAllowedProjectsInRows()
  getAssignedProjectsInRows()
  getCriticalTasks()
  store()
  notifyOwner()
  notifyContacts()
  projects_list_data()
  shownavbar_links_prj()
  getProjects()
  reset_project_parents()
  show_st_project()
  find_proj_child()
  getStructuredProjects()
  getProjectIndex()


Class: CProject  - X-Ref

The Project Class

CProject()   X-Ref
No description

check()   X-Ref
No description

load($oid = null, $strip = true)   X-Ref
No description

canDelete(&$msg, $oid = null)   X-Ref
No description

delete()   X-Ref
No description

importTasks($from_project_id)   X-Ref
No description

getAllowedRecords($uid, $fields = '*', $orderby = '', $index = null, $extra = null, $table_alias = '')   X-Ref
Overload of the w2PObject::getAllowedRecords
to ensure that the allowed projects are owned by allowed companies.

@author    handco <handco@sourceforge.net>
@see    w2PObject::getAllowedRecords

getAllowedSQL($uid, $index = null)   X-Ref
No description

setAllowedSQL($uid, &$query, $index = null, $key = null)   X-Ref
No description

getDeniedRecords($uid)   X-Ref
Overload of the w2PObject::getDeniedRecords
to ensure that the projects owned by denied companies are denied.

author: handco <handco@sourceforge.net>

getAllowedProjectsInRows($userId)   X-Ref
No description

getAssignedProjectsInRows($userId)   X-Ref
No description

getCriticalTasks($project_id = null, $limit = 1)   X-Ref
No description

store()   X-Ref
No description

notifyOwner($isNotNew)   X-Ref
No description

notifyContacts($isNotNew)   X-Ref
No description

projects_list_data($user_id = false)   X-Ref
No description

shownavbar_links_prj($xpg_totalrecs, $xpg_pagesize, $xpg_total_pages, $page)   X-Ref
No description

getProjects()   X-Ref
No description

reset_project_parents(&$projects)   X-Ref
No description

show_st_project(&$a, $level = 0)   X-Ref
No description

find_proj_child(&$tarr, $parent, $level = 0)   X-Ref
No description

getStructuredProjects($original_project_id = 0, $project_status = -1, $active_only = false)   X-Ref
No description

getProjectIndex($arraylist, $project_id)   X-Ref
getProjectIndex() gets the key nr of a project record within an array of projects finding its primary key within the records so that you can call that array record to get the projects data

param: mixed $arraylist array list of project elements to search
param: mixed $project_id project id to search for
return: int returns the array key of the project record in the array list or false if not found



Generated: Fri Jan 9 03:00:02 2009 Cross-referenced by PHPXref 0.7