/core/functions_workspace.php

Description

Workspace functions for ILance

  • author: ILance
  • version: $Revision: 1.0.0 $
Functions
check_private_folder (line 440)
void check_private_folder ([ $sellerid = 0], [ $buyerid = 0], [ $project_id = 0])
  • $sellerid
  • $buyerid
  • $project_id
check_shared_folder (line 471)
void check_shared_folder ([ $sellerid = 0], [ $buyerid = 0], [ $project_id = 0])
  • $sellerid
  • $buyerid
  • $project_id
construct_attachment_folder (line 148)
void construct_attachment_folder ([ $folder_name = ''], [ $folder_comments = ''], [ $folder_parent = -1], [ $folder_project = 0], [ $user_id = 0], [ $folder_buyer = 0], [ $folder_seller = 0], [ $folder_size = 0], [ $folder_type = 2])
  • $folder_name
  • $folder_comments
  • $folder_parent
  • $folder_project
  • $user_id
  • $folder_buyer
  • $folder_seller
  • $folder_size
  • $folder_type
construct_date (line 313)
void construct_date ( $strDate)
  • $strDate
copy_files (line 329)
void copy_files ([ $nFold = 0], [ $newFolderId = 0])
  • $nFold
  • $newFolderId
copy_folders_recursive (line 367)
void copy_folders_recursive ( $nFold,  $newParent)
  • $nFold
  • $newParent
delete_folders_recursive (line 393)
void delete_folders_recursive ( $nFold)
  • $nFold
fetch_field_count (line 133)
void fetch_field_count ( $tbl,  $criteria)
  • $tbl
  • $criteria
fetch_folder_parent_id (line 166)
void fetch_folder_parent_id ([ $folderid = 0])
  • $folderid
fetch_max_id (line 51)

Function to fetch the maximum `id` from a particlar database table

  • return: Returns maximum `id` from database table
string fetch_max_id ([string $tblName = ''])
  • string $tblName: database table name
insert_record (line 68)

Function to insert a valid database record

  • return: Returns maximum `id` from database table
string insert_record (string $strTable, array $arrValue)
  • string $strTable: database table name
  • array $arrValue: table field name arrays
print_arrow (line 272)
void print_arrow ( $nNo)
  • $nNo
print_current_folder_title (line 190)
void print_current_folder_title ( $fold_id, [ $parentid = 0],  $strString)
  • $fold_id
  • $parentid
  • $strString
print_fixed_string (line 31)

Function to print fixed string

  • return: Returns formatted string
string print_fixed_string ([string $str = ''])
  • string $str: string or content
print_folder_option_values (line 284)
void print_folder_option_values ( $root_id,  $cfold_id)
  • $root_id
  • $cfold_id
print_hidden_input_files (line 259)
void print_hidden_input_files ()
print_hidden_input_folders (line 246)
void print_hidden_input_folders ()
showFiles (line 544)
void showFiles ( $fold_id,  $disFlag)
  • $fold_id
  • $disFlag
showFolder (line 490)
void showFolder ( $fold_id,  $disFlag)
  • $fold_id
  • $disFlag
update_record (line 113)

Function to update a database record

  • return: Returns maximum `id` from database table
string update_record (string $strTable, string $strWhere, array $arrValue)
  • string $strTable: database table name
  • string $strWhere: sql where clause
  • array $arrValue: table field name arrays

Documentation generated on Mon, 08 Aug 2011 17:40:59 +0200 by phpDocumentor 1.4.1