Hi Nathan,
Nathan Gray schrieb:
Hi Nathan,
…
Depends what you want to archive and how the called object is coded?
Sorry, I should have been more specific the first time.
I have things like the following:
ExecMethod(‘addressbook.bocontacts.read’, $order->get_bill_to_address())
ExecMethod(‘addressbook.addressbook_bo.read’, …)
or
$addressbook = new addressbook_bo();
$addressbook->read(…);
ExecMethod(‘addressbook.bocontacts.delete’, $branch[‘postal_address’]);
ExecMethod(‘addressbook.bocontacts.merge’, array($this-
get_addressbook_id(), $account_contact[‘id’]));
ExecMethod(‘addressbook.bocontacts.fileas’, $contact);
ExecMethod2(‘phpgwapi.bolink.title’, ‘addressbook’, $contact);
That should be still working, but it makes more sense to use the static
methods of the new egw_link class:
egw_link::title(‘addressbook’,$contact);
Which don’t work anymore.
Should they be replaced with:
addressbook_bo::read($order->get_bill_to_address());
addressbook_bo::delete($branch[‘postal_address’]);
These dont work, as addressbook_bo::read is not static method.
…
egw_link::title(‘addressbook’, $contact)
That’s ok, as egw_link::title(…) is static
Ralf
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft® Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers