The canditate
(TAG(parameters-block){true-block}else{false-block}TAG)
(TAG(parameters-block){true-block}TAG)
(TAG(parameters-block){}TAG) //empty true block
short: (TAG(parametes-or-raw-html)TAG)
Checks
1)parameters list: yes
2) Consistent: yes.
3) Codemirror says: i suppose yes, because my ide mrs geanny recognize
syntax
4) PHP, yes. done.
Other:
- shorter ending tag? No, because }) and )) is very popular in js an can
interferer.
Examples;
(if( $aiki->membership->is_admin() ){Hi admin}else{ (header("redirection",
"/login" )header)}
(noaki( here markup is not valid)noaki)
(sql("SELECT ..","table")sql)
(sql("SELECt .."){ ((field-1)) }else{ <div class='error'>(t(Sorry, no
record found)t)</div>}
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help : https://help.launchpad.net/ListHelp