ACL issue

2009-11-03 Thread samuel darko
Please help me resolve this ACL issue. I'm going through the tutorial "10.2.6 An Automated tool for creating ACOs" getting stuck with the following error message when creating the ACOs by running the build_acl(): *Fatal error*: Call to a member function node() on a non-object in * C:\wamp\www\xcha

array extraction

2009-06-15 Thread samuel darko
Hi guys: i need help trimming down this: Array ( [0] => Array ( [0] => Array ( [Amount] => 72.64 ) ) ) TO this: Array ( [Amount] => 72.64 ) I tried the ff code but to no avail: function afterFind($results, $primary=false) {

Please Help on How To Extract Records from Array

2009-06-09 Thread samuel darko
Hi All: I need help in extracting data from my find('list') result. I have $this->Jurisdiction->Agent->find(..) and getting the result below but want just a portion of it, highlighted in pink (I've tried using set::combine() to no avail) $___viewFn = "/home/ilcs/website_