Summary | Currencies and Taxes |
Queue | Horde Base |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | duck (at) obala (dot) net |
Created | 04/03/2006 (7053 days ago) |
Due | |
Updated | 05/28/2006 (6998 days ago) |
Assigned | |
Resolved | 05/28/2006 (6998 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
stuff is in Horde_RDO for now.
New Attachment: modules0506.tgz
Now all the initial module is moved to RDO.
Plus the the two template and form extension to browse and edit RDO data.
Now I will wait for an feedback or idea hot to integrate it.
but if it's only 10% of cases or so I think we should consider
leaving it out, at least of the core.
I think we could adopt a genereal cheking form additional modules for
every app. When the registry loads the api method list, it could check
if in the api dir exist a subdir named "modules". If so, it passes the
subdirs to check if api.php exist in them and loads it. For example
<api>/modules/taxes/api.php.
Then for every api we can create a submenu entry "modules".
+ horde
++ modules
+++ Taxes -> likend to horde/modules/taxes/taxes.php
+++ Currencies
In this way we can install a module only by copying the files in the
right place and the additional features will be added to the api list.
New Attachment: modules0505.tgz
Added export to XML option to the browsing list, plus reload and
create actions in the header.
Prepared api calls using RDO.
primary key. Are any plans to support combined primary keys?
but if it's only 10% of cases or so I think we should consider leaving
it out, at least of the core.
only update those, instead?
How about primary keys. I see that currently we support only one
primary key. Are any plans to support combined primary keys?
"fields". But is when instance of RDO is passed as an object this is
ignored. I guess we should check if it is null.
How about having the RDO object track which fields have changed, and
only update those, instead?
"fields". But is when instance of RDO is passed as an object this is
ignored. I guess we should check if it is null.
@ -212,9 +212,7 @@
if ($object instanceof RDO) {
$key = $this->describe()->key;
$id = $object->$key;
- if (is_null($fields)) {
- $fields = $object->getFields();
- }
+ $fields = $object->getFields();
} else {
$id = $object;
}
New Attachment: rdoform[3].php
This should be cleand up and maybe used for a base of a CRUD forms.
New Attachment: rdoform[2].php
I still dont understand RDO::update call good.
New Attachment: rdoform[1].php
- Delete entry
- Fill up form for editing
New Attachment: rdoform.php
Priority ⇒ 1. Low
State ⇒ New
New Attachment: cuta0403.tgz
Queue ⇒ Horde Base
Summary ⇒ Currencies and Taxes
Type ⇒ Enhancement
Meant to access their data from other Apps in order to avid
duplication of code and data.
Handles locale price formating too.