Commit Graph

172 Commits

Author SHA1 Message Date
Miles Lott
7c92b70b90 Move constructor to the top of the class; Use one db object instead of two;
Do the query in return_array() only once; Make formated_list() a wrapper to
formatted_list();
2002-01-03 17:16:56 +00:00
bettina
f857c1eeff fixed wrong select of the global cats 2002-01-03 03:42:13 +00:00
bettina
3544a46dc3 update 2002-01-01 23:25:54 +00:00
bettina
8095e83fc5 update 2002-01-01 20:58:22 +00:00
skeeter
5739976dfd Should be backwards compatible! Will now allow the formated_list() method to be called by ExecMethod(). This is now done by setting the format variable equal to an associated array. 2001-12-29 19:31:52 +00:00
Miles Lott
f0f01eefd5 i sure do like formatting code 2001-12-11 01:20:45 +00:00
skeeter
ea096e29ce Small fix for a blank cat_id being passed to id2name(). 2001-12-05 01:32:32 +00:00
Miles Lott
5d4eb42476 allow only subs of current main cat to be returned if $public=True 2001-11-18 06:11:05 +00:00
Miles Lott
a77fd203f3 GLOBALS 2001-10-02 03:52:56 +00:00
skeeter
a5f1abdf00 Fluffed up the name2id() function in categories and a couple of small code cleanups. 2001-09-17 02:24:41 +00:00
Miles Lott
57fb69f726 array element fix 2001-09-17 02:17:26 +00:00
skeeter
6da089837d Various optimizations to the API. This also does a little internal caching of some of the account data, but, only for a single page session. 2001-08-15 02:14:18 +00:00
bettina
8dac4d5616 update delete cats 2001-07-20 01:05:47 +00:00
bettina
c6f9a06500 update add() plus edit() 2001-07-18 23:50:38 +00:00
bettina
e479e77987 update function id2name 2001-07-03 14:23:16 +00:00
bettina
446d1e927f update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:52:13 +00:00
bettina
444ef87edc update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:38:09 +00:00
bettina
1265474bfb update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:13:13 +00:00
jengo
ce2c7d262c Moved to use the new limit_query() function 2001-07-02 20:08:57 +00:00
bettina
e93eb90d38 update function id2name to return also main,app,owner 2001-07-02 02:25:26 +00:00
bettina
6121405967 update formated_list to prevent error msg if array empty 2001-06-07 07:44:26 +00:00
bettina
f64f65b91a update acl in return_array 2001-06-07 06:25:48 +00:00
bettina
941f91ab7b update 2001-06-06 03:17:45 +00:00
bettina
b7f318560d update function edit 2001-05-24 00:51:35 +00:00
Miles Lott
63b55fb831 patch from <RalfBecker@outdoor-training.de> to allow multiple cat selection 2001-05-23 20:19:23 +00:00
skeeter
4fbe90f188 Small change for return_sinle() to work using either global or app cats. 2001-05-20 21:12:44 +00:00
bettina
b1fadc4908 formatting 2001-05-15 00:00:49 +00:00
bettina
3883ba049a modified exists() to check apps_sub_cats to a global parent_cat 2001-05-11 00:45:14 +00:00
bettina
f4a2518c32 added images for categories_format 2001-05-01 23:17:13 +00:00
bettina
0f2df213fd added new format to formated_list() 2001-05-01 02:15:13 +00:00
bettina
7d5d888c60 fixed 2001-04-30 00:27:54 +00:00
bettina
14473b076c fixed 2001-04-29 23:54:10 +00:00
bettina
8dd7dad2ed added function to check the valid main cat 2001-04-29 00:51:53 +00:00
skeeter
eac8c1a938 cleanups - formatting 2001-04-28 21:49:48 +00:00
jengo
a5b2acc3bb Fixed category sorting that wasn't showing the sub categorys under the mains in /preferences/categories.php 2001-04-28 14:01:34 +00:00
bettina
deb7bbcee0 update function add/edit/return_single 2001-04-28 12:52:20 +00:00
bettina
3593fadc84 update function add/edit 2001-04-27 22:50:02 +00:00
bettina
4e707d01bc update sort categories 2001-04-27 16:38:33 +00:00
bettina
7144eef917 update sort categories 2001-04-27 16:06:17 +00:00
jengo
665e72f75a Added name2id() and id2name() functions 2001-04-25 18:12:10 +00:00
jengo
371b4bd374 Added the ability to return a list from a certian parent, and from an app AND main or subs 2001-04-25 17:00:31 +00:00
jengo
49403cd7d5 Fixed total() not working 2001-04-25 13:12:11 +00:00
bettina
cda8181ed7 update return_single() 2001-04-24 03:26:04 +00:00
bettina
d5343aee16 update function exists 2001-04-21 23:22:27 +00:00
bettina
01be8c3c6f added possibility to delete also all subcats if deleting the maincat 2001-04-09 14:45:27 +00:00
bettina
035693bef3 update return_array 2001-03-30 21:12:56 +00:00
bettina
acb00bf31c added cat_access 2001-03-27 07:19:28 +00:00
bettina
0953acb424 added access_field 2001-03-27 03:40:18 +00:00
bettina
8f21b5275a added access_field 2001-03-27 03:10:30 +00:00
bettina
82b727df35 added global cats 2001-03-25 07:21:37 +00:00
bettina
b464dd7249 added global cats 2001-03-25 06:22:25 +00:00
bettina
5c4dbe12cc added global cats 2001-03-25 05:58:28 +00:00
themaniac
d5fcd31dea very draft inline docs added 2001-03-22 06:10:22 +00:00
skeeter
b9da94fd2e New function get_account_id(). This will take either an account_id # as either an integer or a string and return a true intval(account_id) or take a string of a users lid and return the account_id as an integer 2001-03-19 20:25:04 +00:00
jengo
82936fd3c8 Added function to return the total categories depending on filter. Also, applied some source formating 2001-03-12 12:16:14 +00:00
bettina
3f06a8752b update categories class to count items 2001-03-05 00:44:50 +00:00
bettina
e387e95008 fixes 2001-03-01 01:29:31 +00:00
bettina
aacca9b4da included total_matchs to read categories 2001-02-27 01:41:59 +00:00
bettina
548d841d1e updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:56:10 +00:00
bettina
6fa74c988f updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:23:23 +00:00
bettina
e385245ecf removed cat_owner from sql_statements 2001-02-19 11:26:08 +00:00
skeeter
53f4716584 replaced quotes with single ticks where applicable 2001-02-11 20:03:35 +00:00
jengo
5a4e1a11a1 Fixed some variables being treated has strings becuase of things like "$somevar" 2001-02-04 08:27:35 +00:00
jengo
ef7c988605 Added returning a single category 2001-02-03 06:55:22 +00:00
jengo
585be61e0e *** empty log message *** 2001-01-31 07:46:26 +00:00
jengo
31f38a5d8e Fixed a few problems with the result objects 2001-01-19 23:45:37 +00:00
seek3r
4e3e6c77cb fixed banners so that they are all uniform and complete 2001-01-16 13:52:32 +00:00
seek3r
fba1a92446 Put in new license details 2001-01-13 10:18:50 +00:00
jengo
3e2952ece1 Fixed it not loading properly, due to last nights changes to how classes are loaded 2001-01-11 15:33:23 +00:00
jengo
ace2ca59ce Everything seems to be working now 2001-01-11 14:53:07 +00:00
jengo
ed0135f488 Categories class is now somewhat working 2001-01-11 13:37:37 +00:00
seek3r
e97ef24062 switching to the new Object factory method 2001-01-11 09:52:33 +00:00