This looks really interesting. Please help us document this too! http://www.aikiframework.org/wiki/Release_Notes/0.9
On Tue, Jun 7, 2011 at 5:15 PM, Roger Martín <rg1...@gmail.com> wrote: > Hi folk! > > i've added some new methods to message class. Example: > > $aiki->message->set("title","aiki") // establish title deletin previuos > content. > $aiki->message->add("title","admin") //add title key new values > $aiki->message->add("title","users") > > $aiki->message->add("title","users",10) //add title key new values, with it > specified key. > $aiki->message->add("title","new-users",10) //add title key new values, and > substitute all values > > $aiki->message->show("title","ul") echo content of title as <ul><li> lists. > $aiki->message->show("title","ol") echo content of title as <ol><li> lists. > $aiki->message->show("title","li") echo content of title as <ol><li> lists. > $aiki->message->show("title","comented-list") echo content <!-- aiki, admin, > users --> > $aiki->message->show("title","/") echo content of title separted by "/", > works with other characters. > $aiki->message->show("title","<ul id='test'>") echo <ul > id=test><li>aiki</li><li>admin....</li> > $aiki->message->show("title","<div id='test' .more attributes..>") echo <div > id='test'....>aiki</div><div id='test'....>admin</div>... > > The get method are similar to show but returns, no echo values, and add a > new glue: > $aiki->message->get("title","as array") return the array of title > > > $aiki->order("title","asc") ..order values of title in ascendant orders. > Sort option are: asc, desc, asc-values,desc-values, natural > Example: > $aiki->message->add("jquery","1.4") > $aiki->message->add("jquery","2") > $aiki->message->add("jquery","0.9") > $aiki->order("jquery","natural"); > $aiki->last("jquery") return 2 > $aiki->first("jquery") return 0.9 > > > And what can we do now: > - show at the bottom page a comented list of widget called, or a list of > query made.. > - breadcrumbs. > - detect jquery version we need load. > - recolect all inline javascript:, without duplicates. > a form put: > add("js-inline","..js_code", "datapicker") //note that order is also a > id. > other form need the same code > add("js-inline","..js_code", "datapicker") //js-inline contains only one > time the code. > ... > > > Roger > > PD: during i was writing this i see a error "comented-list" is not > english...I will correct this soon. > > > > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~aikiframework-devel > Post to : aikiframework-devel@lists.launchpad.net > Unsubscribe : https://launchpad.net/~aikiframework-devel > More help : https://help.launchpad.net/ListHelp > > -- ——— christopher adams 86 186 1172 0021 | 1 646 201 3335 49 15 156 219931 | 886 953 036 630 chris.raysend.com _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp