API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

En finte, der gør livet lidt nemmere

0
En lille finte (som jeg i hvert fald ikke lige havde tænkt på). Man kan udtrykke felter og metoder i objekter med variable. Så man f.eks. kan skrive:


        $tname = 'DebtorGroup';
        $GetAll = $tname'_GetAll';
        $GetAllResult = $tname'_GetAllResult';
        $Handle = $tname'Handle';
        $handles = $client-$GetAll()-$GetAllResult-$Handle;


/Kjeld
created Dec 31, 2009 by ecodyr
0% Accept Rate
Q 6 A 10 C 1

1 Answer

0
smart - thanks for sharing.
answered Jan 18, 2010 by ksvendsen
Visma e-conomic A/S
...