Array.php -
18 functions/classes, 462 lines, 15838 bytes
10: class PHPWS_Array;
19: function swap (&$array, $index1, $index2);
31: function reindex (&$array);
47: function maxKey ($checkArray);
85: function moveElement ($array, $index=NULL, $element=NULL, $moveup=true, $assoc_array=true);
133: function yank ($array, $key=NULL, $value=NULL);
176: function arrayToObject ($array, &$object);
193: function objectToArray ($object, &$array);
210: function dropNulls (&$array);
229: function testPost ();
239: function testCookie ();
250: function testRequest ();
263: function testGlobals ($skip_predefined = FALSE);
281: function testObject ($obj_var);
292: function testArray ($array_var);
313: function paginateDataArray ($content, $link_back, $default_limit=10, $make_sections=FALSE, $curr_sec_decor=NULL, $link_class=NULL, $break_point=20, $return_array=FALSE);
424: function ksort (&$array, $mode="SORT_ASC");
446: function interval ($final, $start=0, $interval=1);
Cache.php -
4 functions/classes, 152 lines, 4580 bytes
11: class PHPWS_Cache;
50: function get ($id, $mod_title=NULL);
110: function set ($data, $id, $mod_title=NULL, $timeout=TTL);
139: function flush ($module=NULL);
Calendar.php -
33 functions/classes, 759 lines, 20018 bytes
19: class PHPWS_Cal;
36: function PHPWS_Cal ($module=NULL, $caller=NULL);
47: function turnOffMouseOvers ();
51: function _createDayHeaders ($abbr=false);
85: function getExpandedMonthView ();
244: function today ($Day, $timestamp);
257: function buildMonth ($data=NULL);
297: function getYears ($offset=10, $miniView=TRUE);
327: function getMonths ();
359: function getMonthSelect ($miniView=FALSE);
387: function getQuickSelect ($miniView=TRUE);
409: function getMiniMonthView ();
560: function getActiveDays ($month, $year);
564: function getFullMonthActiveDays ($month, $year);
568: function _processTemplate (&$tags, $tplName);
576: function getFirstEvent ();
592: function getPrevEvent ($currTS);
617: function getNextEvent ($currTS);
638: function setItemOp ($op);
648: function setBlankOp ($op);
657: function jsOnClickFunc ($jsFuncName);
670: function setFullMonthLink ($link);
678: function setLinkBack ($link);
687: function setData ($items);
695: function setTemplateDir ($templateDir);
702: function getFullMonthYear ();
706: function getFullMonthMonth ();
710: function getMiniViewMonth ();
720: class Event extends Calendar_Decorator;
724: function Event (&$Day);
729: function fetch ();
741: function add ($label, $id=NULL, $prefix=NULL);
753: function getEvents ();
Core.php -
16 functions/classes, 580 lines, 18162 bytes
62: class PHPWS_Core extends PHPWS_Database;
191: function PHPWS_Core ($branchName=NULL, $hubDirectory=NULL, $install=FALSE);
248: function getHomeDir ();
257: function loadSettings ();
271: function loadCacheSettings ();
289: function initModules ();
343: function listLoadedMods ();
361: function loadBranch ($branchName, $hubDirectory);
404: function setRequestModule ($module);
417: function getModuleInfo ($mod_title);
448: function loadModules ();
502: function listModules ($activeOnly=FALSE);
522: function getModuleDir ($module);
540: function moduleExists ($mod_title);
558: function killAllSessions ();
573: function killSession ($session_name);
Database.php -
38 functions/classes, 1276 lines, 44937 bytes
17: class PHPWS_Database;
47: function loadDatabase ($configFile=NULL, $suppress_error=FALSE, $skipDefine=FALSE);
75: function getTablePrefix ();
94: function query ($sql, $addTablePrefix=FALSE, $error_pass=FALSE);
116: function getOne ($sql, $addTablePrefix=FALSE);
138: function getRow ($sql, $addTablePrefix=FALSE);
159: function getCol ($sql, $addTablePrefix=FALSE);
180: function getAssoc ($sql, $addTablePrefix=FALSE);
203: function getAllAssoc ($sql, $addTablePrefix=FALSE);
203: function getAll ($sql, $addTablePrefix=FALSE);
251: function quickFetch ($sql, $addTablePrefix=NULL, $mode="assoc");
273: function setFetchMode ($mode);
298: function dbReady ($value=NULL);
326: function makeWhere ($match, $compare, $and_or);
363: function sqlFriendlyName ($name, $extraReserved = array());
433: function sqlInsert ($db_array, $table_name, $check_dup=FALSE, $returnId=FALSE, $show_sql=FALSE, $autoIncrement=TRUE);
490: function sqlGetIndex ($tableName);
534: function sqlSelect ($table_name, $match_column=NULL, $match_value=NULL, $order_by=NULL, $compare=NULL, $and_or=NULL, $limit=NULL, $mode=NULL, $test=FALSE);
597: function sqlUpdate ($db_array, $table_name, $match_column=NULL, $match_value=NULL, $compare="=", $and_or="and");
638: function sqlLock ($table_name, $state="WRITE");
663: function sqlUnlock ();
687: function sqlDelete ($table_name, $match_column=NULL, $match_value=NULL, $compare="=", $and_or="and");
713: function sqlMaxValue ($table, $field, $match_column=NULL, $match_value=NULL, $compare="=", $and_or="and");
739: function sqlTableExists ($tableName, $addPrefix=FALSE);
759: function sqlColumnExists ($table_name, $column_name);
766: function sqlCreateIndex ($table_name, $columns);
796: function sqlCreateTable ($table_name, $columns, $ignoreIndex=FALSE);
828: function sqlDropTable ($table_name);
849: function sqlAddColumn ($table_name, $columns);
874: function sqlModifyColumn ($tableName, $column, $settings);
890: function sqlDropColumn ($table_name, $columns);
910: function sqlImport ($filename, $write = TRUE, $suppress_error=FALSE);
1061: function addTablePrefix ($sql_value);
1070: function extractTableName ($sql_value);
1114: function extractSQLData ($query, $write=TRUE);
1231: function listTables ();
1247: function listDatabases ();
1262: function getColumnNames ($tableName);
DateTime.php -
8 functions/classes, 272 lines, 7769 bytes
10: class PHPWS_DateTime;
76: function loadDateTimeSettings ();
117: function date ($data=NULL, $timestamp=FALSE);
197: function mkdate ($date);
212: function monthArray ();
220: function monthnameArray ();
235: function dayArray ();
255: function yearArray ($start=NULL, $length=10);
Debug.php -
32 functions/classes, 392 lines, 13492 bytes
10: class PHPWS_Debug;
107: function PHPWS_debug ();
112: function setShowTimer ($activity);
113: function setDumpCore ($activity);
114: function setDumpPost ($activity);
115: function setDumpGet ($activity);
116: function setDumpRequest ($activity);
117: function setDumpFile ($activity);
118: function setDumpCookie ($activity);
119: function setDumpServer ($activity);
120: function setBeforeExecution ($activity);
121: function setAfterExecution ($activity);
122: function setShowBlock ($activity);
124: function getShowTimer ();
125: function getDumpCore ();
126: function getDumpPost ();
127: function getDumpGet ();
128: function getDumpRequest ();
129: function getDumpFile ();
130: function getDumpCookie ();
131: function getDumpServer ();
132: function getBeforeExecution ();
133: function getAfterExecution ();
134: function getShowBlock ();
136: function setActive ($activity);
137: function isActive ();
139: function setActivity ();
148: function adminSettings ();
225: function saveSettings ();
261: function testObject ($objVar, $displayTags=1);
281: function testArray ($arrayVar, $displayTags=1);
320: function displayDebugInfo ($beforeExecution);
Error.php -
6 functions/classes, 141 lines, 3557 bytes
12: class PHPWS_Error;
67: function PHPWS_Error ($module, $function, $message = NULL, $status="continue", $debugMode=0);
81: function message ($contentVar = NULL, $title = NULL);
109: function errorMessage ($contentVar = NULL);
123: function isError ($value);
134: function getMessage ();
EZelement.php -
20 functions/classes, 452 lines, 9858 bytes
2: class EZelement;
90: function EZelement ();
108: function _setId ($id);
112: function _setExtra ($extra);
116: function _setOptgroups ($optgroups);
120: function _setType ($type);
149: function _setTab ($order);
158: function getTab ();
163: function _setTag ($tag);
173: function _setMatch ($match);
177: function _setRows ($rows);
187: function _setWidth ($width);
197: function _setHeight ($height);
208: function _setCols ($cols);
218: function getType ();
222: function _setValue ($value);
226: function _setSize ($size);
235: function _setMaxSize ($maxsize);
245: function _getInput ();
393: function _getSelect ($multiple=0);
EZform.php -
33 functions/classes, 1127 lines, 37265 bytes
44: class EZform;
95: function EZform ($formName=NULL);
116: function add ($name, $type=NULL, $value=NULL);
140: function drop ($name);
150: function getError ();
178: function setType ($name, $type);
198: function setId ($name, $id=null);
219: function setExtra ($name, $extra);
238: function setWidth ($name, $width);
260: function setHeight ($name, $height);
277: function setRows ($name, $rows);
294: function setCols ($name, $cols);
315: function setTab ($name, $order);
331: function setSize ($name, $size);
350: function showPass ($name, $show);
369: function setTag ($name, $tag);
408: function setValue ($name, $value);
448: function reindexValue ($name);
481: function setMatch ($name, $match, $optionMatch=FALSE);
502: function setOptgroups ($name, $optgroups);
516: function setMaxSize ($name, $maxsize);
531: function changeName ($oldName, $newName);
548: function testName ($name);
563: function testType ($name);
150: function get ($name);
610: function setAction ($directory);
614: function setEncode ($flag);
623: function getStart ();
660: function getTemplate ($phpws=TRUE, $helperTags=TRUE, $template=NULL);
737: function imageForm ($name=NULL, $image_directory=NULL, $match=NULL);
814: function saveImage ($postVar, $image_directory, $widthLimit=NULL, $heightLimit=NULL, $sizeLimit=NULL, $allowedImages=NULL, $autoIncrement=TRUE);
939: function dateForm ($name=NULL, $match=NULL, $yearStart=NULL, $yearEnd=NULL, $useBlanks=FALSE, $textYear=FALSE, $textMonth=FALSE, $textDay=FALSE);
1051: function timeForm ($name=NULL, $match=NULL, $increment=15);
File.php -
12 functions/classes, 514 lines, 18281 bytes
18: class PHPWS_File;
39: function readDirectory ($path, $directoriesOnly=FALSE, $filesOnly=FALSE, $recursive=FALSE, $extensions=array(), $appendPath=FALSE);
113: function recursiveFileCopy ($fromPath, $toPath);
156: function writeFile ($fileName, $text, $allowOverwrite=FALSE, $errorReport=FALSE, $permissions=NULL);
186: function makeDir ($pathname, $permissions=NULL);
216: function readFile ($filename, $error_report=FALSE);
240: function setFilePermissions ($filename, $permissions=NULL);
265: function fileCopy ($file_origin, $destination_directory, $file_destination, $overwrite, $fatal, $permissions=NULL);
336: function makeThumbnail ($fileName, $directory, $tndirectory, $maxWidth=125, $maxHeight=125, $replaceFile=FALSE);
436: function rmdir ($dir);
465: function chkgd2 ();
500: function nameToSafe ($name, $maxlen=250);
Form.php -
16 functions/classes, 665 lines, 23964 bytes
13: class PHPWS_Form;
35: function makeForm ($name, $action, $elements, $method = "post", $breaks = FALSE, $file = FALSE);
68: function formRadio ($name, $value, $match = NULL, $match_diff = NULL, $label = NULL);
101: function formHidden ($name, $value = NULL);
127: function formFile ($name, $size = 33, $maxsize = 255, $label = NULL);
160: function formTextField ($name, $value = NULL, $size = 20, $maxsize = 255, $label = NULL);
195: function formPassword ($name, $size = 20, $maxsize = 255);
220: function formTextArea ($name, $value = NULL, $rows = 5, $cols = 40, $label = NULL);
261: function formCheckBox ($name, $value = "1", $match = NULL, $match_diff = NULL, $label = NULL);
307: function formSelect ($name, $opt_array, $match = NULL, $ignore_index = FALSE, $match_to_value = FALSE, $onchange = NULL, $label = NULL);
357: function formMultipleSelect ($name, $opt_array, $match = NULL, $ignore_index = FALSE, $match_to_value = FALSE, $size = 4, $label = NULL);
401: function formSubmit ($value, $name = NULL, $class = NULL);
431: function formButton ($value, $name = NULL, $onclick = NULL, $class = NULL, $accesskey = NULL, $mouseover = NULL);
474: function formSqlSelect ($sql, $option, $value = NULL, $selected = NULL);
522: function formDate ($date_name, $date_match = NULL, $yearStart = NULL, $yearEnd = NULL, $useBlanks = FALSE);
604: function clock ($var_name, $time = NULL, $increment = 15);
img/
manager/
down_pointer.png - 272 bytes
sort_none.png - 289 bytes
up_pointer.png - 270 bytes
ImgLibrary.php -
14 functions/classes, 754 lines, 29715 bytes
22: class PHPWS_IMGLib;
177: function PHPWS_IMGLib ($can_manage_images=false, $can_manage_galleries=false , $can_select_images=true, $return_data, $current_gallery=null, $current_image=null , $module=null, $base_dir='library', $block='CNT_user', $image_type='image' , $max_image_size=26, $max_image_height=400, $max_image_width=400);
255: function action ($op='view_gallery');
294: function update_settings ($new_gallery=null);
344: function view_gallery ();
462: function delete_gallery ();
512: function rename_gallery ();
533: function upload_image ();
552: function delete_image ();
603: function move_image ();
664: function post_class_vars ();
683: function post_array ($name, $array);
701: function gallery_button ($label=null, $action=null, $in_form=false);
724: function create_library ();
Item.php -
30 functions/classes, 761 lines, 22904 bytes
18: class PHPWS_Item;
162: function init ($row=NULL);
228: function commit ($extras=NULL, $supressSets=FALSE);
316: function kill ();
343: function setVars ($vars = NULL);
376: function setId ($id = NULL);
394: function setOwner ();
419: function setEditor ();
445: function setIp ();
475: function setLabel ($label = NULL);
491: function setCreated ();
502: function setUpdated ();
515: function setHidden ($flag = TRUE);
534: function setApproved ($flag = TRUE);
553: function setTable ($table = NULL);
572: function addGroup ($group = NULL);
593: function removeGroup ($group = NULL);
612: function addExclude ($list = NULL);
629: function getId ();
640: function getOwner ();
651: function getEditor ();
662: function getIp ();
673: function getLabel ();
686: function getCreated ();
699: function getUpdated ();
710: function getTable ();
721: function isHidden ();
732: function isApproved ();
343: function set ($name, $value);
629: function get ($name);
List.php -
29 functions/classes, 610 lines, 17195 bytes
21: class PHPWS_List;
43: function getList ();
235: function getItems ($ids=NULL);
299: function _getIds ();
322: function _orderIds ($ids);
366: function _doMassUpdate ($column, $value);
401: function setModule ($module);
410: function setController ($controller);
419: function setTable ($table);
428: function setClass ($class);
437: function setIdColumn ($idColumn);
446: function setIds ($ids);
455: function setDbColumns ($dbColumns);
464: function setListColumns ($listColumns);
473: function setName ($name);
482: function setTemplate ($template);
491: function setOp ($op);
500: function setPaging ($paging);
509: function setWhere ($where = NULL);
519: function setOrder ($order = NULL);
529: function setExtraListTags ($extraListTags);
538: function setExtraRowTags ($extraRowTags);
547: function getModule ();
551: function getName ();
555: function getWhere ();
564: function getOrder ();
577: function anchorOn ();
581: function anchorOff ();
585: function catchOrder ();
Manager.php -
25 functions/classes, 1235 lines, 37687 bytes
25: class PHPWS_Manager;
289: function init ();
375: function getList ($listName, $title=NULL, $makeForm=TRUE, $overRideOp=NULL, $colspan=NULL);
723: function getItems ($ids=NULL, $filterGroups=FALSE, $everything=FALSE);
804: function _getIds ();
835: function _updateFatcat ($activate=TRUE);
876: function _doMassUpdate ($column, $value);
914: function setModule ($module);
931: function setTable ($table);
941: function getTable ();
952: function setRequest ($request);
969: function setClass ($class);
985: function setSort ($sort);
995: function setOrder ($order);
1006: function setOwner ($owner);
1025: function setListFunction ($name);
1044: function setViewFunction ($name);
1063: function setEditFunction ($name);
1082: function setDeleteFunction ($name);
1098: function catchOrder ();
1117: function getSort ();
1133: function getOrder ();
1150: function anchorOn ();
1154: function anchorOff ();
1168: function managerAction ();
Message.php -
4 functions/classes, 38 lines, 956 bytes
9: class PHPWS_Message;
15: function PHPWS_Message ($content, $contentVar, $title=NULL);
21: function display ();
32: function isMessage ($value);
Pager.php -
18 functions/classes, 365 lines, 9847 bytes
27: class PHPWS_Pager;
111: function setData ($data);
123: function setLinkBack ($linkBack);
131: function setLimits ($limits);
139: function setDecoration ($decoration);
147: function setClass ($class);
155: function setBreak ($break);
163: function makeArray ($flag);
171: function setAnchor ($anchor);
175: function pageData ($catchRequest=TRUE);
224: function getNumRows ();
228: function getData ();
232: function getBackLink ($back = "& if($this->_limits[0] > $this->_numrows);
250: function getForwardLink ($forward = "& if($this->_limits[0] > $this->_numrows);
268: function getSectionLinks ();
322: function getSectionInfo ();
332: function getLimitLinks ($addPipes=FALSE);
359: function cleanUp ();
Template.php -
7 functions/classes, 281 lines, 13143 bytes
12: class PHPWS_Template;
25: function getTemplateDir ($module, $templateFile);
55: function listTemplates ($module, $dirOnly = FALSE, $subdir=NULL);
78: function refreshTemplate ($module=NULL);
126: function processTemplate ($templateArray, $module, $template, $defaultDir = TRUE, $tagFlag=FALSE, $showBlocks = NULL, $hideBlocks = NULL, $suppressError = FALSE);
210: function processBlockTemplate ($blockTags, $blockName, $templateTags, $module, $template);
264: function tagFlag ($templateArray);
Text.php -
23 functions/classes, 714 lines, 22578 bytes
13: class PHPWS_Text;
51: function loadTextSettings ();
79: function profanityFilter ($text);
98: function sentence ($text, $stripNewlines = FALSE);
122: function breaker ($text);
191: function isAlpha ($char);
208: function addslashes ($text);
223: function stripslashes ($text);
238: function magicstrip ($text);
253: function parseInput ($text, $allowedTags=NULL);
275: function utfEncode ($text);
295: function parseOutput ($text, $printTags=FALSE);
346: function isValidInput ($userEntry, $type=NULL);
399: function imageTag ($address, $alt=NULL, $width=NULL, $height=NULL, $border=0, $blank=FALSE);
466: function ezTable ($data_array, $cellpadding=0, $cellspacing=0, $border=0, $width=0, $th=FALSE, $toggle=FALSE, $valign=NULL, $class=NULL);
524: function moduleLink ($title, $module=NULL, $getVars=NULL, $target=NULL, $class=NULL);
514: function link ($address, $text, $type=NULL, $get_var=NULL, $target=NULL, $onclick=NULL);
629: function checkLink ($link);
648: function stripSpaces ($text, $replace=NULL);
664: function alphaNum ($stripper);
677: function checkUnslashed ($text);
692: function stripQuotes ($text);
706: function stripSlashQuotes ($text);
WizardBag.php -
7 functions/classes, 133 lines, 2876 bytes
4: class PHPWS_WizardBag;
20: function js_insert ($file, $form_name=NULL, $section_name=NULL, $check=false, $js_var_array=NULL, $js_fun=1, $requireOnce=false);
49: function load_js_funcs ();
63: function whereami ($file_only=NULL);
103: function home ();
113: function seed_rand ();
119: function toggle (&$tog, $ret_value=NULL);