http://aikiframework.org/wiki/Custom_Constants

Hook it up!

2012/4/5 Jakub Jankiewicz <[email protected]>:
> Not yet.
>
> On Thu, 5 Apr 2012 21:55:49 +0800
> Jon Phillips <[email protected]> wrote:
>
>> Cool! Did you put this on the wiki too?
>>
>> Progress!
>>
>> Jon
>>
>> On Thu, Apr 5, 2012 at 9:44 PM, Jakub Jankiewicz <[email protected]>
>> wrote:
>> > Hi all
>> >
>> > In last commits I add custom constants, and I've created constant
>> > [nsfw] for OCAL.
>> >
>> > you can set static value or API invocation (or extension), there is
>> > no interface to add custom constant but you can simple put this
>> > code into widget
>> >
>> > (script( $aiki->config->set('(!(1)!)', '(!(2)!)'); )script)
>> >
>> > and you will be able to set constants with url:
>> > /widget_name/<name>/<value>
>> > you can also set it to
>> > /widget_name/<name>/$aiki->Extension->function()
>> > you can pass arguments inside like
>> > $aiki->Extension->function(100, "foo")
>> >
>> >
>> > --
>> > Jakub Jankiewicz
>> > twitter: @jcubic
>> > www: http://jcubic.pl
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~aikiframework-devel
>> > Post to     : [email protected]
>> > Unsubscribe : https://launchpad.net/~aikiframework-devel
>> > More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
> --
> Jakub Jankiewicz
> twitter: @jcubic
> www: http://jcubic.pl



-- 
Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
+1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)

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

Reply via email to