$aiki is used in this way: $aiki->message->get_login_error() $aiki->membership->who_is_online() $aiki->membership->how_many_are_online()
$aiki->web2date->parseweb2date( ((upload_date)) ); php> $aiki->web2date->parseweb2date( [[pubDate]] ); php> $aiki->blueprint2rss->get_blueprint_titles(https://blueprints.launchpad.net/openclipart/+specs); php> $aiki->membership->ResetPassword(POST[username],POST[email],[email protected], Reset your password on OpenClipArt, Hi<br /> someone asked to reset your password on www.openclipart.org <br>); php> default <php $aiki->membership->NewPassword(GET[key]); php> $aiki->membership->ResetPassword(POST[username],POST[email],[email protected], Reset your password on OpenClipArt, Hi<br /> someone asked to reset your password on www.openclipart.org <br>); php> default <php $aiki->membership->NewPassword(GET[key]); php> <php $aiki->ocal->dorss( <title>((upload_name))</title> *NOTE:membership->resetPassword($input) <link>http://www.openclipart.org/detail/((id))</link> <pubDate>((rfcpubdate)) EST</pubDate> <dc:creator>((user_name))</dc:creator> <description><img src="http://www.openclipart.org/image/250px/svg_to_png/((filename))" />((upload_description))</description> <content:encoded><![CDATA[<img src="http://www.openclipart.org/image/250px/svg_to_png/((filename))" />((upload_description))]]></content:encoded> <enclosure url="http://www.openclipart.org/((full_path))((filename))" type="octect/stream" length=""></enclosure> <guid>http://www.openclipart.org/detail/((id))</guid> <cc:license>http://creativecommons.org/licenses/publicdomain</cc:license> <media:thumbnail url="http://www.openclipart.org/image/90px/svg_to_png/((filename))"></media:thumbnail>); the problem of using "," to separate arguments is that you can't make a difference between: - a separator. - a coma in a field ((upload_date)) or other field can contain a literal ,. - a text like the last example. Solution: - use better a || as separator. Think that II has the same problem but is less frecuent... - make a $aikiarray-> where all arguments are delimited by "" and separated by coma. -- You received this bug notification because you are a member of Aiki Framework Developers, 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: New 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-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

