[Cartoweb-users] addColumnAdder

wochter wochter at seznam.cz
Sun Feb 8 09:45:15 EST 2009


Hi,
I'm trying to use foss4gTableRules plugin.

addCellFilter from demo files works fine, but
addColumnAdder cannot work for me. I modified the
ClientFoss4gTableRules.php from demo files.

Could you tell me what I have wrong in this?

$WcolumnPosition = new ColumnPosition(ColumnPosition::TYPE_ABSOLUTE, 1);
$registry->addColumnAdder('*', 'sw_ar_parcely',
                $WcolumnPosition, array('parcis'), array('parcis'),
		array('ClientFoss4gTableRules', 'computeUrl'));


Error message:
Class : CartocommonException
Message : Error [2, Missing argument 3 for
ClientFoss4gTableRules::computeUrl(),
/home/mydata/www/cartoweb3/projects/test/plugins/foss4gTableRules/client/ClientFoss4gTableRules.php,
12]
Backtrace:

file: 12 -
/home/mydata/www/cartoweb3/projects/test/plugins/foss4gTableRules/client/ClientFoss4gTableRules.php
call: Common::cartowebErrorHandler(2, "Missing argument 3 for
ClientFoss4gTableRules::computeUrl()",
"/home/mydata/www/cartoweb3/projects/test/plugins/foss4gTableRule...",
12, Array(2))

file: UNKNOWN - UNKNOWN
call: ClientFoss4gTableRules::computeUrl("sw_ar_parcely", Array(1))

file: 1048 -
/home/mydata/www/cartoweb3/coreplugins/tables/common/TableRulesRegistry.php
call: call_user_func(Array(2), "sw_ar_parcely", Array(1))


Thank you

wochter





More information about the Cartoweb-users mailing list