this is bug 871919,  corrected in revision 943

** Changed in: aikiframework
       Status: New => Fix Released

** Changed in: aikiframework
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/871905

Title:
  You can't use multiple arguments in calling API from a widget

Status in Aiki Framework:
  Fix Released

Bug description:
  if you use <php $aiki->class->method(foo, bar, baz) php>

  it call $aiki->class->method("foo, bar, baz")

  Sollution:
  in php->aiki_function instead of:
  $aiki->$class->$function($para);

  use:
  public function aiki_function($class,$function, $array) {
       ...
       call_user_func_array(array($aiki->$class, $function), $array);
       ...
  }
  and in php->parser
  $php_output = $this->aiki_function($partial[1],
             $partial[2], $partial[3] ? preg_split("/\s*,\s*/", $partial[3]) : 
array());
  }

  But I don't know how this affect the other code and user extensions:
  Are people using them?

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/871905/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to