100+ results results for 'php eval repo:irlvirus/linxspace' (380 ms)
11 * Dual licensed under the MIT and GPL licenses: 12 * http://www.opensource.org/licenses/mit-license.php 13 * http://www.gnu.org/licenses/gpl.html 14 */ 15eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$.H($.2L,{17:7(d){l(!6.F){d&&d.2q&&2T.1z&&1z.52("3y 3p, 4L\'t 17, 64 3y");8}p c=$.19(6[0],\'v\');l(c){8 c}c=2w $.v(d,6[0]);$.19(6[0],\'v\',c);l(c.q.3x){6.3s("1w, 3i").1o(".4E").3e(7(){c.3b=w});l(c.q.35){6.3s("1w, 3i").1o(":2s").3e(7(){c.1Z=6})}6.2s(7(b){l(c.q.2q)b.5J();7 1T(){l(c.q.35){l(c.1Z){p a=$("<1w 1V=\'5r\'/>").1s("u",c.1Z.u).33(c.1Z.Z).51(c.U)}c.q.35.V(c,c.U);l(c.1Z){a.3D()}8 N}8 w}l(c.3b){c.3b=N;8 1T()}l(c.L()){l(c.1b){c.1l=w;8 N}8 1T()}12{c.2l();8 N}})}8 c},J:7(){l($(6[0]).2W(\'L\')){8 6.17().L()}12{p b=w;p a=$(6[0].L).17();6.P(7(){b&=a.I(6)});8 b}},4D:7(c){p d={},$I=6;$.P(c.1I(/\\s/),7(a,b){d[b]=$I.1s(b);$I.6d(b)});8 d},1i:7(h,k){p f=6[0];l(h){p i=$.19(f.L,\'v\').q;p d=i.1i;p c=$.v.36(f);23(h){1e"1d":$.H(c,$.v.1X(k));d[f.u]=c;l(k.G)i.G[f.u]=$.H(i.G[f.u],k.G);31;1e"3D":l(!k){T d[f.u];8 c}p e={};$.P(k.1I(/\\s/),7(a,b){e[b]=c[b];T c[b]});8 e}}p g=$.v.41($.H({},$.v.3Y(f),$.v.3V(f),$.v.3T(f),$.v.36(f)),f);l(g.15){p j=g.15;T g.15;g=$.H({15:j},g)}8 g}});$.H($.5p[":"],{5n:7(a){8!$.1p(""+a.Z)},5g:7(a){8!!$.1p(""+a.Z)},5f:7(a){8!a.4h}});$.v=7(b,a){6.q=$.H(w,{},$.v.3d,b);6.U=a;6.3I()};$.v.W=7(c,b){l(R.F==1)8 7(){p a=$.3F(R);a.4V(c);8 $.v.W.1Q(6,a)};l(R.F>2&&b.2c!=3B){b=$.3F(R).4Q(1)}l(b.2c!=3B){b=[b]}$.P(b,7(i,n){c=c.1u(2w 3t("\\\\{"+i+"\\\\}","g"),n)});8 c};$.H($.v,{3d:{G:{},2a:{},1i:{},1c:"3r",28:"J",2F:"4P",2l:w,3o:$([]),2D:$([]),3x:w,3l:[],3k:N,4O:7(a){6.3U=a;l(6.q.4K&&!6.4J){6.q.1K&&6.q.1K.V(6,a,6.q.1c,6.q.28);6.1M(a).2A()}},4C:7(a){l(!6.1E(a)&&(a.u 11 6.1a||!6.K(a))){6.I(a)}},6c:7(a){l(a.u 11 6.1a||a==6.4A){6.I(a)}},68:7(a){l(a.u 11 6.1a)6.I(a);12 l(a.4x.u 11 6.1a)6.I(a.4x)},39:7(a,c,b){$(a).22(c).2v(b)},1K:7(a,c,b){$(a).2v(c).22(b)}},63:7(a){$.H($.v.3d,a)},G:{15:"61 4r 2W 15.",1q:"M 2O 6 4r.",1J:"M O a J 1J 5X.",1B:"M O a J 5W.",1A:"M O a J 1A.",2j:"M O a J 1A (5Q).",1G:"M O a J 1G.",1P:"M O 5O 1P.",2f:"M O a J 5L 5I 1G.",2o:"M O 47 5F Z 5B.",43:"M O a Z 5z a J 5x.",18:$.v.W("M O 3K 5v 2X {0} 2V."),1y:$.v.W("M O 5t 5s {0} 2V."),2i:$.v.W("M O a Z 3W {0} 3O {1} 2V 5o."),2r:$.v.W("M O a Z 3W {0} 3O {1}."),1C:$.v.W("M O a Z 5j 2X 46 3M 3L {0}."),1t:$.v.W("M O a Z 5d 2X 46 3M 3L {0}.")},3J:N,5a:{3I:7(){6.24=$(6.q.2D);6.4t=6.24.F&&6.24||$(6.U);6.2x=$(6.q.3o).1d(6.q.2D);6.1a={};6.54={};6.1b=0;6.1h={};6.1f={};6.21();p f=(6.2a={});$.P(6.q.2a,7(d,c){$.P(c.1I(/\\s/),7(a,b){f[b]=d})});p e=6.q.1i;$.P(e,7(b,a){e[b]=$.v.1X(a)});7 2N(a){p b=$.19(6[0].L,"v"),3c="4W"+a.1V.1u(/^17/,"");b.q[3c]&&b.q[3c].V(b,6[0])}$(6.U).2K(":3E, :4U, :4T, 2e, 4S","2d 2J 4R",2N).2K(":3C, :3A, 2e, 3z","3e",2N);l(6.q.3w)$(6.U).2I("1f-L.17",6.q.3w)},L:7(){6.3v();$.H(6.1a,6.1v);6.1f=$.H({},6.1v);l(!6.J())$(6.U).3u("1f-L",[6]);6.1m();8 6.J()},3v:7(){6.2H();Q(p i=0,14=(6.2b=6.14());14[i];i++){6.29(14[i])}8 6.J()},I:7(a){a=6.2G(a);6.4A=a;6.2P(a);6.2b=$(a);p b=6.29(a);l(b){T 6.1f[a.u]}12{6.1f[a.u]=w}l(!6.3q()){6.13=6.13.1d(6.2x)}6.1m();8 b},1m:7(b){l(b){$.H(6.1v,b);6.S=[];Q(p c 11 b){6.S.27({1j:b[c],I:6.26(c)[0]})}6.1n=$.3n(6.1n,7(a){8!(a.u 11 b)})}6.q.1m?6.q.1m.V(6,6.1v,6.S):6.3m()},2S:7(){l($.2L.2S)$(6.U).2S();6.1a={};6.2H();6.2Q();6.14().2v(6.q.1c)},3q:7(){8 6.2k(6.1f)},2k:7(a){p b=0;Q(p i 11 a)b++;8 b},2Q:7(){6.2C(6.13).2A()},J:7(){8 6.3j()==0},3j:7(){8 6.S.F},2l:7(){l(6.q.2l){3Q{$(6.3h()||6.S.F&&6.S[0].I||[]).1o(":4N").3g().4M("2d")}3f(e){}}},3h:7(){p a=6.3U;8 a&&$.3n(6.S,7(n){8 n.I.u==a.u}).F==1&&a},14:7(){p a=6,2B={};8 $([]).1d(6.U.14).1o(":1w").1L(":2s, :21, :4I, [4H]").1L(6.q.3l).1o(7(){!6.u&&a.q.2q&&2T.1z&&1z.3r("%o 4G 3K u 4F",6);l(6.u 11 2B||!a.2k($(6).1i()))8 N;2B[6.u]=w;8 w})},2G:7(a){8 $(a)[0]},2z:7(){8 $(6.q.2F+"."+6.q.1c,6.4t)},21:7(){6.1n=[];6.S=[];6.1v={};6.1k=$([]);6.13=$([]);6.2b=$([])},2H:7(){6.21();6.13=6.2z().1d(6.2x)},2P:7(a){6.21();6.13=6.1M(a)},29:7(d){d=6.2G(d);l(6.1E(d)){d=6.26(d.u)[0]}p a=$(d).1i();p c=N;Q(Y 11 a){p b={Y:Y,2n:a[Y]};3Q{p f=$.v.1N[Y].V(6,d.Z.1u(/\\r/g,""),d,b.2n);l(f=="1S-1Y"){c=w;6g}c=N;l(f=="1h"){6.13=6.13.1L(6.1M(d));8}l(!f){6.4B(d,b);8 N}}3f(e){6.q.2q&&2T.1z&&1z.6f("6e 6b 6a 69 I "+d.4z+", 29 47 \'"+b.Y+"\' Y",e);67 e;}}l(c)8;l(6.2k(a))6.1n.27(d);8 w},4y:7(a,b){l(!$.1H)8;p c=6.q.3a?$(a).1H()[6.q.3a]:$(a).1H();8 c&&c.G&&c.G[b]},4w:7(a,b){p m=6.q.G[a];8 m&&(m.2c==4v?m:m[b])},4u:7(){Q(p i=0;i<R.F;i++){l(R[i]!==20)8 R[i]}8 20},2u:7(a,b){8 6.4u(6.4w(a.u,b),6.4y(a,b),!6.q.3k&&a.62||20,$.v.G[b],"<4s>60: 5Z 1j 5Y Q "+a.u+"</4s>")},4B:7(b,a){p c=6.2u(b,a.Y),37=/\\$?\\{(\\d+)\\}/g;l(1g c=="7"){c=c.V(6,a.2n,b)}12 l(37.16(c)){c=1F.W(c.1u(37,\'{$1}\'),a.2n)}6.S.27({1j:c,I:b});6.1v[b.u]=c;6.1a[b.u]=c},2C:7(a){l(6.q.2t)a=a.1d(a.4q(6.q.2t));8 a},3m:7(){Q(p i=0;6.S[i];i++){p a=6.S[i];6.q.39&&6.q.39.V(6,a.I,6.q.1c,6.q.28);6.2E(a.I,a.1j)}l(6.S.F){6.1k=6.1k.1d(6.2x)}l(6.q.1x){Q(p i=0;6.1n[i];i++){6.2E(6.1n[i])}}l(6.q.1K){Q(p i=0,14=6.4p();14[i];i++){6.q.1K.V(6,14[i],6.q.1c,6.q.28)}}6.13=6.13.1L(6.1k);6.2Q();6.2C(6.1k).4o()},4p:7(){8 6.2b.1L(6.4n())},4n:7(){8 $(6.S).4m(7(){8 6.I})},2E:7(a,c){p b=6.1M(a);l(b.F){b.2v().22(6.q.1c);b.1s("4l")&&b.4k(c)}12{b=$("<"+6.q.2F+"/>").1s({"Q":6.34(a),4l:w}).22(6.q.1c).4k(c||"");l(6.q.2t){b=b.2A().4o().5V("<"+6.q.2t+"/>").4q()}l(!6.24.5S(b).F)6.q.4j?6.q.4j(b,$(a)):b.5R(a)}l(!c&&6.q.1x){b.3E("");1g 6.q.1x=="1D"?b.22(6.q.1x):6.q.1x(b)}6.1k=6.1k.1d(b)},1M:7(a){p b=6.34(a);8 6.2z().1o(7(){8 $(6).1s(\'Q\')==b})},34:7(a){8 6.2a[a.u]||(6.1E(a)?a.u:a.4z||a.u)},1E:7(a){8/3C|3A/i.16(a.1V)},26:7(d){p c=6.U;8 $(4i.5P(d)).4m(7(a,b){8 b.L==c&&b.u==d&&b||4g})},1O:7(a,b){23(b.4f.4e()){1e\'2e\':8 $("3z:3p",b).F;1e\'1w\':l(6.1E(b))8 6.26(b.u).1o(\':4h\').F}8 a.F},4d:7(b,a){8 6.32[1g b]?6.32[1g b](b,a):w},32:{"5N":7(b,a){8 b},"1D":7(b,a){8!!$(b,a.L).F},"7":7(b,a){8 b(a)}},K:7(a){8!$.v.1N.15.V(6,$.1p(a.Z),a)&&"1S-1Y"},4c:7(a){l(!6.1h[a.u]){6.1b++;6.1h[a.u]=w}},4b:7(a,b){6.1b--;l(6.1b<0)6.1b=0;T 6.1h[a.u];l(b&&6.1b==0&&6.1l&&6.L()){$(6.U).2s();6.1l=N}12 l(!b&&6.1b==0&&6.1l){$(6.U).3u("1f-L",[6]);6.1l=N}},2h:7(a){8 $.19(a,"2h")||$.19(a,"2h",{2M:4g,J:w,1j:6.2u(a,"1q")})}},1R:{15:{15:w},1J:{1J:w},1B:{1B:w},1A:{1A:w},2j:{2j:w},4a:{4a:w},1G:{1G:w},49:{49:w},1P:{1P:w},2f:{2f:w}},48:7(a,b){a.2c==4v?6.1R[a]=b:$.H(6.1R,a)},3V:7(b){p a={};p c=$(b).1s(\'5H\');c&&$.P(c.1I(\' \'),7(){l(6 11 $.v.1R){$.H(a,$.v.1R[6])}});8 a},3T:7(c){p a={};p d=$(c);Q(Y 11 $.v.1N){p b=d.1s(Y);l(b){a[Y]=b}}l(a.18&&/-1|5G|5C/.16(a.18)){T a.18}8 a},3Y:7(a){l(!$.1H)8{};p b=$.19(a.L,\'v\').q.3a;8 b?$(a).1H()[b]:$(a).1H()},36:7(b){p a={};p c=$.19(b.L,\'v\');l(c.q.1i){a=$.v.1X(c.q.1i[b.u])||{}}8 a},41:7(d,e){$.P(d,7(c,b){l(b===N){T d[c];8}l(b.2R||b.2p){p a=w;23(1g b.2p){1e"1D":a=!!$(b.2p,e.L).F;31;1e"7":a=b.2p.V(e,e);31}l(a){d[c]=b.2R!==20?b.2R:w}12{T d[c]}}});$.P(d,7(a,b){d[a]=$.44(b)?b(e):b});$.P([\'1y\',\'18\',\'1t\',\'1C\'],7(){l(d[6]){d[6]=2Z(d[6])}});$.P([\'2i\',\'2r\'],7(){l(d[6]){d[6]=[2Z(d[6][0]),2Z(d[6][1])]}});l($.v.3J){l(d.1t&&d.1C){d.2r=[d.1t,d.1C];T d.1t;T d.1C}l(d.1y&&d.18){d.2i=[d.1y,d.18];T d.1y;T d.18}}l(d.G){T d.G}8 d},1X:7(a){l(1g a=="1D"){p b={};$.P(a.1I(/\\s/),7(){b[6]=w});a=b}8 a},5A:7(c,a,b){$.v.1N[c]=a;$.v.G[c]=b!=20?b:$.v.G[c];l(a.F<3){$.v.48(c,$.v.1X(c))}},1N:{15:7(c,d,a){l(!6.4d(a,d))8"1S-1Y";23(d.4f.4e()){1e\'2e\':p b=$(d).33();8 b&&b.F>0;1e\'1w\':l(6.1E(d))8 6.1O(c,d)>0;5y:8 $.1p(c).F>0}},1q:7(f,h,j){l(6.K(h))8"1S-1Y";p g=6.2h(h);l(!6.q.G[h.u])6.q.G[h.u]={};g.40=6.q.G[h.u].1q;6.q.G[h.u].1q=g.1j;j=1g j=="1D"&&{1B:j}||j;l(g.2M!==f){g.2M=f;p k=6;6.4c(h);p i={};i[h.u]=f;$.2U($.H(w,{1B:j,3Z:"2Y",3X:"17"+h.u,5w:"5u",19:i,1x:7(d){k.q.G[h.u].1q=g.40;p b=d===w;l(b){p e=k.1l;k.2P(h);k.1l=e;k.1n.27(h);k.1m()}12{p a={};p c=(g.1j=d||k.2u(h,"1q"));a[h.u]=$.44(c)?c(f):c;k.1m(a)}g.J=b;k.4b(h,b)}},j));8"1h"}12 l(6.1h[h.u]){8"1h"}8 g.J},1y:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)>=a},18:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)<=a},2i:7(b,d,a){p c=6.1O($.1p(b),d);8 6.K(d)||(c>=a[0]&&c<=a[1])},1t:7(b,c,a){8 6.K(c)||b>=a},1C:7(b,c,a){8 6.K(c)||b<=a},2r:7(b,c,a){8 6.K(c)||(b>=a[0]&&b<=a[1])},1J:7(a,b){8 6.K(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+)*)|((\\3S)((((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(([\\3P-\\5q\\45\\42\\5D-\\5E\\3N]|\\5m|[\\5l-\\5k]|[\\5i-\\5K]|[\\E-\\B\\C-\\x\\A-\\y])|(\\\\([\\3P-\\1W\\45\\42\\30-\\3N]|[\\E-\\B\\C-\\x\\A-\\y]))))*(((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(\\3S)))@((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?$/i.16(a)},1B:7(a,b){8 6.K(b)||/^(5h?|5M):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|[\\5e-\\5T]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.16(a)},1A:7(a,b){8 6.K(b)||!/5U|5c/.16(2w 5b(a))},2j:7(a,b){8 6.K(b)||/^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.16(a)},1G:7(a,b){8 6.K(b)||/^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.16(a)},1P:7(a,b){8 6.K(b)||/^\\d+$/.16(a)},2f:7(b,e){l(6.K(e))8"1S-1Y";l(/[^0-9-]+/.16(b))8 N;p a=0,d=0,2g=N;b=b.1u(/\\D/g,"");Q(p n=b.F-1;n>=0;n--){p c=b.59(n);p d=58(c,10);l(2g){l((d*=2)>9)d-=9}a+=d;2g=!2g}8(a%10)==0},43:7(b,c,a){a=1g a=="1D"?a.1u(/,/g,\'|\'):"57|56?g|55";8 6.K(c)||b.65(2w 3t(".("+a+")$","i"))},2o:7(c,d,a){p b=$(a).66(".17-2o").2I("3H.17-2o",7(){$(d).J()});8 c==b.33()}}});$.W=$.v.W})(1F);(7($){p c=$.2U;p d={};$.2U=7(a){a=$.H(a,$.H({},$.53,a));p b=a.3X;l(a.3Z=="2Y"){l(d[b]){d[b].2Y()}8(d[b]=c.1Q(6,R))}8 c.1Q(6,R)}})(1F);(7($){l(!1F.1r.38.2d&&!1F.1r.38.2J&&4i.3G){$.P({3g:\'2d\',3H:\'2J\'},7(b,a){$.1r.38[a]={50:7(){6.3G(b,2y,w)},4Z:7(){6.4Y(b,2y,w)},2y:7(e){R[0]=$.1r.2O(e);R[0].1V=a;8 $.1r.1T.1Q(6,R)}};7 2y(e){e=$.1r.2O(e);e.1V=a;8 $.1r.1T.V(6,e)}})};$.H($.2L,{2K:7(d,e,c){8 6.2I(e,7(a){p b=$(a.4X);l(b.2W(d)){8 c.1Q(b,R)}})}})})(1F);',62,389,'||||||this|function|return|||||||||||||if||||var|settings||||name|validator|true|uFDCF|uFFEF||uFDF0|uD7FF|uF900||u00A0|length|messages|extend|element|valid|optional|form|Please|false|enter|each|for|arguments|errorList|delete|currentForm|call|format|_|method|value||in|else|toHide|elements|required|test|validate|maxlength|data|submitted|pendingRequest|errorClass|add|case|invalid|typeof|pending|rules|message|toShow|formSubmitted|showErrors|successList|filter|trim|remote|event|attr|min|replace|errorMap|input|success|minlength|console|date|url|max|string|checkable|jQuery|number|metadata|split|email|unhighlight|not|errorsFor|methods|getLength|digits|apply|classRuleSettings|dependency|handle|da|type|x09|normalizeRule|mismatch|submitButton|undefined|reset|addClass|switch|labelContainer||findByName|push|validClass|check|groups|currentElements|constructor|focusin|select|creditcard|bEven|previousValue|rangelength|dateISO|objectLength|focusInvalid|x20|parameters|equalTo|depends|debug|range|submit|wrapper|defaultMessage|removeClass|new|containers|handler|errors|hide|rulesCache|addWrapper|errorLabelContainer|showLabel|errorElement|clean|prepareForm|bind|focusout|validateDelegate|fn|old|delegate|fix|prepareElement|hideErrors|param|resetForm|window|ajax|characters|is|than|abort|Number|x0d|break|dependTypes|val|idOrName|submitHandler|staticRules|theregex|special|highlight|meta|cancelSubmit|eventType|defaults|click|catch|focus|findLastActive|button|size|ignoreTitle|ignore|defaultShowErrors|grep|errorContainer|selected|numberOfInvalids|error|find|RegExp|triggerHandler|checkForm|invalidHandler|onsubmit|nothing|option|checkbox|Array|radio|remove|text|makeArray|addEventListener|blur|init|autoCreateRanges|no|to|equal|x7f|and|x01|try|x0a|x22|attributeRules|lastActive|classRules|between|port|metadataRules|mode|originalMessage|normalizeRules|x0c|accept|isFunction|x0b|or|the|addClassRules|numberDE|dateDE|stopRequest|startRequest|depend|toLowerCase|nodeName|null|checked|document|errorPlacement|html|generated|map|invalidElements|show|validElements|parent|field|strong|errorContext|findDefined|String|customMessage|parentNode|customMetaMessage|id|lastElement|formatAndAdd|onfocusout|removeAttrs|cancel|assigned|has|disabled|image|blockFocusCleanup|focusCleanup|can|trigger|visible|onfocusin|label|slice|keyup|textarea|file|password|unshift|on|target|removeEventListener|teardown|setup|appendTo|warn|ajaxSettings|valueCache|gif|jpe|png|parseInt|charAt|prototype|Date|NaN|greater|uE000|unchecked|filled|https|x5d|less|x5b|x23|x21|blank|long|expr|x08|hidden|least|at|json|more|dataType|extension|default|with|addMethod|again|524288|x0e|x1f|same|2147483647|class|card|preventDefault|x7e|credit|ftp|boolean|only|getElementsByName|ISO|insertAfter|append|uF8FF|Invalid|wrap|URL|address|defined|No|Warning|This|title|setDefaults|returning|match|unbind|throw|onclick|checking|when|occured|onkeyup|removeAttr|exception|log|continue'.split('|'),0,{}))phpbb2_template.class.php https://bitbucket.org/chamilo/chamilo/ | PHP | 478 lines
1<?php 2/*************************************************************************** 2/*************************************************************************** 3 * template.php 4 * ------------------- 5 * begin : Saturday, Feb 13, 2001 6 * copyright : (C) 2001 The phpBB Group 7 * email : support@phpbb.com 8 * 9 * $Id: template.php 5142 2005-05-06 20:50:13Z acydburn $ 10 * 23/** 24 * Template class. By Nathan Codding of the phpBB group. 25 * The interface was originally inspired by PHPLib templates, 29 30class Phpbb2Template { 31 var $classname = "Phpbb2Template";Command.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 512 lines
1<?php 2 34 protected $description; 35 protected $ignoreValidationErrors; 36 protected $applicationDefinitionMerged; 48 $this->definition = new InputDefinition(); 49 $this->ignoreValidationErrors = false; 50 $this->applicationDefinitionMerged = false; 133 } catch (\Exception $e) { 134 if (!$this->ignoreValidationErrors) { 135 throw $e; 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );RedisProfilerStorage.php git://github.com/snc/SncRedisBundle.git | PHP | 395 lines
1<?php 2 45 const REDIS_SERIALIZER_NONE = 0; 46 const REDIS_SERIALIZER_PHP = 1; 47 171 172 $profile = $this->getValue($this->getItemName($token), self::REDIS_SERIALIZER_PHP); 173 200 201 if ($this->setValue($this->getItemName($profile->getToken()), $data, $this->lifetime, self::REDIS_SERIALIZER_PHP)) { 202 if (!$profileIndexed) { 254 255 if (!$childProfileData = $this->getValue($this->getItemName($token), self::REDIS_SERIALIZER_PHP)) { 256 continue; 275 276 if ($this->isItemNameValid($name)) { 277 return $name;PrototypedArrayNodeTest.php git://github.com/fabpot/symfony.git | PHP | 341 lines
1<?php 2 13 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\Config\Definition\ArrayNode; 290 291 $variableValue = new VariableNode('value'); 292 326 327 [$variableValue, 328 [CakeValidationSetTest.php git://github.com/yandod/candycane.git | PHP | 337 lines
4 * 5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 14 * @package Cake.Test.Case.Model.Validator 14 * @package Cake.Test.Case.Model.Validator 15 * @since CakePHP(tm) v 2.2.0 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 130 $rules = array('validEmail' => array('rule' => 'email', 'message' => 'Other message')); 131 $Rule = new CakeValidationRule($rules['validEmail']); 132 $Field->setRule('validEmail', $Rule); 242 $rule = $Set['numeric']; 243 $this->assertInstanceOf('CakeValidationRule', $rule); 244 $this->assertEquals('numeric', $rule->rule);AmiJS.js git://github.com/silverstripe/sapphire.git | JavaScript | 378 lines
3//Copyright (c) 2005 Bob Ippolito. All rights reserved. 4//License: http://www.opensource.org/licenses/mit-license.php 5//Visit http://orangoo.com/AmiNation/AJS for full version. 46}, 47getIndex: function(elm, list/*optional*/, eval_fn) { 48for(var i=0; i < list.length; i++) 48for(var i=0; i < list.length; i++) 49if(eval_fn && eval_fn(list[i]) || elm == list[i]) 50return i; 226var c_fun_dom = 'function() { ' + c_dom + ' }'; 227eval("AJS." + elm.toUpperCase() + "=" + c_fun_dom); 228}EntityContentBase.php git://github.com/drupal/drupal.git | PHP | 385 lines
1<?php 2 15use Drupal\migrate\Exception\EntityValidationException; 16use Drupal\migrate\Plugin\MigrateValidatableEntityInterface; 17use Drupal\migrate\Plugin\MigrationInterface; 89 */ 90class EntityContentBase extends Entity implements HighestIdInterface, MigrateValidatableEntityInterface { 91 use DeprecatedServicePropertyTrait; 332 ->getPluginClass($field_definition->getType()); 333 $values = $field_type_class::generateSampleValue($field_definition); 334 if (is_null($values)) {classes.html git://pkgs.fedoraproject.org/xqilla | HTML | 44 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 --> 31<tr><td><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> A </div></td></tr></table> 32</td><td><a class="el" href="classxercesc_1_1DOMImplementationRegistry.html">DOMImplementationRegistry</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoDeallocate.html">AutoDeallocate</a> </td><td><a class="el" href="classxercesc_1_1DOMImplementationSource.html">DOMImplementationSource</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMTypeInfo.html">DOMTypeInfo</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoDelete.html">AutoDelete</a> </td><td><a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMUserDataHandler.html">DOMUserDataHandler</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoDeleteArray.html">AutoDeleteArray</a> </td><td><a class="el" href="classxercesc_1_1DOMLSException.html">DOMLSException</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathEvaluator.html">DOMXPathEvaluator</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoRelease.html">AutoRelease</a> </td><td><a class="el" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathException.html">DOMXPathException</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a name="letter_D"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> 33</td><td><a class="el" href="classxercesc_1_1DOMLSOutput.html">DOMLSOutput</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathExpression.html">DOMXPathExpression</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSParser.html">DOMLSParser</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathNamespace.html">DOMXPathNamespace</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSParserFilter.html">DOMLSParserFilter</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMCharacterData.html">DOMCharacterData</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSResourceResolver.html">DOMLSResourceResolver</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMComment.html">DOMComment</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSSerializer.html">DOMLSSerializer</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table>ArrayNodeTest.php git://github.com/fabpot/symfony.git | PHP | 357 lines
1<?php 2 13 14use PHPUnit\Framework\TestCase; 15use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait; 135 $rootNode->addChild(new ScalarNode('string_key')); 136 $r = new \ReflectionMethod($rootNode, 'normalizeValue'); 137 $r->setAccessible(true); 172 */ 173 public function testChildrenOrderIsMaintainedOnNormalizeValue($prenormalized, $normalized) 174 { 182 183 $r = new \ReflectionMethod($node, 'normalizeValue'); 184 $r->setAccessible(true); 307 308 $r = new \ReflectionMethod($node, 'mergeValues'); 309 $r->setAccessible(true);jquery.rating.js http://xbat-devel.googlecode.com/svn/trunk/ | JavaScript | 241 lines
4 * Dual licensed under the MIT and GPL licenses: 5 * http://www.opensource.org/licenses/mit-license.php 6 * http://www.gnu.org/licenses/gpl.html 10*//* 11 Based on http://www.phpletter.com/Demo/Jquery-Star-Rating-Plugin/ 12 Original comments: 12 Original comments: 13 This is hacked version of star rating created by <a href="http://php.scripts.psu.edu/rja171/widgets/rating.php">Ritesh Agrawal</a> 14 It thansform a set of radio type input elements to star rating type and remain the radio element name and value, 50 this.drain(n); 51 $(el).prevAll('.star_group_' + n).andSelf().addClass('star_' + (state || 'hover')); 52 // focus handler, as requested by focusdigital.co.uk 60 if(!$($.rating.groups[n].current).is('.cancel')) 61 $($.rating.groups[n].current).prevAll('.star_group_'+n).andSelf().addClass('star_on'); 62 // blur handler, as requested by focusdigital.co.ukAdminShipping.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 306 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 8861 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 74 $function = $values['cast']; 75 Configuration::updateValue($field, call_user_func($function, Tools::getValue($field))); 76 }XmlUtils.php git://github.com/spotweb/spotweb.git | PHP | 269 lines
1<?php 2 137 /** 138 * Converts a \DOMElement object to a PHP array. 139 * 165 } 166 $config[$name] = static::phpize($node->value); 167 $empty = false; 169 170 $nodeValue = false; 171 foreach ($element->childNodes as $node) { 173 if ('' !== trim($node->nodeValue)) { 174 $nodeValue = trim($node->nodeValue); 175 $empty = false; 196 if (false !== $nodeValue) { 197 $value = static::phpize($nodeValue); 198 if (\count($config)) {smarty_cacheresource_custom.php git://github.com/modxcms/revolution.git | PHP | 297 lines
1<?php 2/** 153 if (isset($content)) { 154 eval('?>' . $content); 155 $cached->content = null;crudBrowser.class.php http://selfpublish.googlecode.com/svn/trunk/ | PHP | 338 lines
1<?php 2 27 28 require_once($this->projectDir.'/config/ProjectConfiguration.class.php'); 29 sfContext::createInstance(ProjectConfiguration::getApplicationConfiguration('crud', 'test', true, $this->projectDir)); 111 info('save')-> 112 saveValues($options, array( 113 'title' => 'my real title', 197 info('save')-> 198 saveValues($options, array( 199 'id' => 3, 273 274 public function saveValues($options, $values, $id, $creation) 275 {sfPropelFormGenerator.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 492 lines
76 77 file_put_contents($file, $this->evalTemplate('sfPropelFormBaseTemplate.php')); 78 } 99 100 file_put_contents($baseDir.'/base/Base'.$table->getPhpName().'Form.class.php', $this->evalTemplate('sfPropelFormGeneratedTemplate.php')); 101 if (!file_exists($classFile = $baseDir.'/'.$table->getPhpName().'Form.class.php')) 102 { 103 file_put_contents($classFile, $this->evalTemplate('sfPropelFormTemplate.php')); 104 } 167 { 168 $names[] = array($this->getForeignTable($column)->getPhpName(), $column->getPhpName(), $column->isNotNull(), false); 169 } 173 { 174 $names[] = array($tables['relatedTable']->getPhpName(), $tables['middleTable']->getPhpName(), false, true); 175 }PropertyPathOperators.cs https://hg.codeplex.com/dotnetrdf | C# | 326 lines
127 /// <returns></returns> 128 public abstract BaseMultiset Evaluate(SparqlEvaluationContext context); 129 147 SparqlQuery q = new SparqlQuery(); 148 q.RootGraphPattern = this.ToGraphPattern(); 149 q.Optimise(); 156 /// <returns></returns> 157 public abstract GraphPattern ToGraphPattern(); 158 211 212 BaseMultiset results = context.Evaluate(bgp);//bgp.Evaluate(context); 213 context.InputMultiset = initialInput; 243 /// <returns></returns> 244 protected List<INode> EvaluateStep(SparqlEvaluationContext context, List<INode> path, bool reverse) 245 {UserDetails.php http://web3cms.googlecode.com/svn/trunk/ | PHP | 247 lines
1<?php 2 147 */ 148 protected function beforeValidate() 149 { 157 // parent does all common work 158 return parent::beforeValidate(); 159 }inlimg.el git://github.com/spastorino/my_emacs_for_rails.git | Emacs Lisp | 423 lines
46 47(eval-when-compile (require 'cl)) 48(eval-when-compile (require 'mumamo nil t)) 48(eval-when-compile (require 'mumamo nil t)) 49(eval-when-compile (require 'ourcomments-util nil t)) 50 161 (nxml-mode html-mode) 162 (php-mode html-mode) 163 (css-mode html-mode) 192 193(eval-after-load 'gimp 194 '(gimp-add-point-bindings inlimg-img-keymap))backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
1<?PHP //$Id$ 2 //This php script contains all the stuff to backup/restore 240 // $excluded_tags : fields which will NOT be backed up from the records 241 // $more_backup : optional PHP code to be eval(uated) for each record 242 // If any of the "fwrite" statements fail, 274 if ($more_backup) { 275 eval($more_backup); 276 }Route.php git://github.com/symfony/symfony.git | PHP | 568 lines
1<?php 2 50 * @param string|string[] $methods A required HTTP method or an array of restricted methods 51 * @param string|null $condition A condition that should evaluate to true for the route to match 52 */clilib.php https://github.com/nicolasconnault/moodle2.0.git | PHP | 544 lines
1<?php //$Id: clilib.php,v 1.2 2009/01/10 20:44:45 skodak Exp $ 2/** 8set_include_path($CFG->libdir . PATH_SEPARATOR . $CFG->libdir . '/pear/'); 9require_once('Console/Getopt.php'); 10 121 * If value match the type return true, false otherwise 122 * uses {@link clean_param()} in moodlelib.php 123 * @param mixedtype $value 310 if(!valid_int_range($values['verbose'],CLI_NO,CLI_FULL)){ 311 console_write_error('invalidverbosevalue'); 312 } 315 if(!valid_int_range($values['verbose'],CLI_NO,CLI_FULL)){ 316 console_write_error('invalidinteractivevalue'); 317 }static.js https://github.com/paul999/ajax-shoutbox.git | JavaScript | 735 lines
5* @copyright (c) 2007 Paul Sohier 6* @license http://opensource.org/licenses/gpl-license.php GNU Public License 7* 38 39 err.name = "E_USER_ERROR";// Php error?!? :D 40 return err; 82 } 83 else if (xml.childNodes.length == 1 && xml.childNodes[0].nodeValue != null) 84 { 86 87 return tn(xml.childNodes[0].nodeValue); 88 } 99 case 3: 100 div.appendChild(document.createTextNode(xml.childNodes[i].nodeValue)); 101 break;Abstract.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 309 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $ 21 */ 124 */ 125 require_once 'Zend/Service/Ebay/Exception.php'; 126 throw new Zend_Service_Ebay_Exception('Invalid options provided.'); 190 */ 191 protected function _optionsToNameValueSyntax($options) 192 { 238 // this happens if any $subValue found is an array 239 $new = $this->_optionsToNameValueSyntax($new); 240 } 244 /** 245 * Translate native PHP values format to ebay format for request. 246 *DateTimeItemTest.php git://github.com/drupal/drupal.git | PHP | 353 lines
1<?php 2 12use Drupal\field\Entity\FieldStorageConfig; 13use PHPUnit\Framework\AssertionFailedError; 14 101 102 // Test the generateSampleValue() method. 103 $entity = EntityTest::create(); 151 152 // Test the generateSampleValue() method. 153 $entity = EntityTest::create(); 255 * 256 * @dataProvider datetimeValidationProvider 257 */ 257 */ 258 public function testDatetimeValidation($value) { 259 $this->expectException(AssertionFailedError::class);Default.php https://bitbucket.org/workhousemarc/fuelsmart.git | PHP | 367 lines
46 47 return $choiceValues; 48 } 49 50 protected function _sortChoiceValues($a, $b) 51 { 249 foreach ($choices as $choiceValue => $label) { 250 $values[$choiceValue] = array('value' => $choiceValue, 'label' => $label); 251 } 330 $formOptions = $editedConfig['form']; 331 $renderableValue = $this->getRenderableValue(); 332 $renderedValue = ''; 338 case 'date': 339 $renderedValue = $this->_renderDateValue($renderableValue, $renderOptions, $formOptions, $fieldType); 340 break;login.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 257 lines
1<?php 2# Front page - news, latests projects, etc. 21 22require_once('../include/init.php'); 23require_once('../include/account.php'); 23require_once('../include/account.php'); 24require_once('../include/sane.php'); 25 27Header("Cache-Control: no-cache"); 28Header("Cache-Control: must-revalidate"); 29 67 session_cookie('cookie_probe', 1); 68 header('Location: login.php?uri='.$uri.'&cookie_test=1'); 69 } 71 { 72 fb(sprintf(_("Savane thinks your cookies are not activated for %s. To log-in, we need you to activate cookies in your web browser for this website. Please do so and click here:"), $sys_default_domain).' '.$GLOBALS['sys_https_url'].$GLOBALS['sys_home'].'account/login.php?uri='.$uri, 1); 73 }13calculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 248 lines
22 * @package PHPExcel 23 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34/** PHPExcel */ 35include 'PHPExcel.php'; 36 37/** PHPExcel_Calculation */ 38require_once 'PHPExcel/Calculation.php'; 39 46echo date('H:i:s') . " Create new PHPExcel object\n"; 47$objPHPExcel = new PHPExcel(); 48 113$objPHPExcel->getActiveSheet()->setCellValue('B38', '=DATEDIF( DATE(2007, 12, 21), DATE(2007, 12, 22), "D" )'); 114$objPHPExcel->getActiveSheet()->setCellValue('B39', '=DATEVALUE("01-Feb-2006 10:06 AM")'); 115$objPHPExcel->getActiveSheet()->setCellValue('B40', '=DAY( DATE(2006, 1, 2) )');13calculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 248 lines
22 * @package PHPExcel 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34/** PHPExcel */ 35include 'PHPExcel.php'; 36 37/** PHPExcel_Calculation */ 38require_once 'PHPExcel/Calculation.php'; 39 46echo date('H:i:s') . " Create new PHPExcel object\n"; 47$objPHPExcel = new PHPExcel(); 48 113$objPHPExcel->getActiveSheet()->setCellValue('B38', '=DATEDIF( DATE(2007, 12, 21), DATE(2007, 12, 22), "D" )'); 114$objPHPExcel->getActiveSheet()->setCellValue('B39', '=DATEVALUE("01-Feb-2006 10:06 AM")'); 115$objPHPExcel->getActiveSheet()->setCellValue('B40', '=DAY( DATE(2006, 1, 2) )');SortedTreeNodeBase_Remove'2.cs https://openHistorian.svn.codeplex.com/svn | C# | 237 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 205 //Change the existing pointer to the left node to point to the right node. 206 SparseIndex.UpdateValue(leftNode.LowerKey, new SortedTreeUInt32(rightNode.NodeIndex), (byte)(Level + 1)); 207 //Now remove the unused key positionDigitalValueBase.cs https://openpdc.svn.codeplex.com/svn | C# | 243 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 123 /// </summary> 124 public override int CompositeValueCount 125 { 187 /// <returns>A <see cref="Double"/> representing the composite value.</returns> 188 public override double GetCompositeValue(int index) 189 {consoleExposed.js http://fbug.googlecode.com/svn/ | JavaScript | 456 lines
17 * Returns a console object (bundled with passed window through closure). The object 18 * provides all necessary APIs as described here: http://getfirebug.com/wiki/index.php/Console_API 19 * 161 162 frameCounter.logRow.firstChild.firstChild.nodeValue = label; 163 } 410 var fn = frames[i].getFunctionName() + ""; 411 if (fn && (fn.indexOf("_firebugEvalEvent") != -1)) 412 continue;myocamlbuild.ml git://github.com/mirage/dyntype.git | OCaml | 492 lines
47 48 let eval var_get t = 49 let rec eval' = 54 | ENot e -> 55 not (eval' e) 56 57 | EAnd (e1, e2) -> 58 (eval' e1) && (eval' e2) 59 60 | EOr (e1, e2) -> 61 (eval' e1) || (eval' e2) 62 75 in 76 eval' t 77template_util.py git://pkgs.fedoraproject.org/python-kid | Python | 282 lines
8__copyright__ = "Copyright 2004-2005, Ryan Tomayko" 9__license__ = "MIT <http://www.opensource.org/licenses/mit-license.php>" 10 106 from_file = globals['__file__'] 107 thing = eval(arg, globals, locals) 108 return get_base_class(thing, from_file, arg) 110 errors = [str(e)] 111 # try again without evaluating the argument (forgotten quotes etc.) 112 try: 115 errors.append(str(e)) 116 # reraise the original problem when we tried to evaluate the thing 117 errors = '\n'.join(filter(bool, errors)) or arg 215 try: 216 b = eval('%s' % args, globals, locals) 217 if not isinstance(b, dict):knockout.mapping-latest.js https://git01.codeplex.com/cstemplates | JavaScript | 22 lines
2/// (c) 2012 Steven Sanderson, Roy Jacobs - http://knockoutjs.com/ 3/// License: MIT (http://www.opensource.org/licenses/mit-license.php) 4(function(e){"function"===typeof require&&"object"===typeof exports&&"object"===typeof module?e(require("knockout"),exports):"function"===typeof define&&define.amd?define(["knockout","exports"],e):e(ko,ko.mapping={})})(function(e,f){function x(b,c){var a,d;for(d in c)if(c.hasOwnProperty(d)&&c[d])if(a=f.getType(b[d]),d&&b[d]&&"array"!==a&&"string"!==a)x(b[d],c[d]);else if("array"===f.getType(b[d])&&"array"===f.getType(c[d])){a=b;for(var e=d,k=b[d],m=c[d],s={},g=k.length-1;0<=g;--g)s[k[g]]=k[g];for(g= 6i.observe);a.mappedProperties=a.mappedProperties||{};a.copiedProperties=a.copiedProperties||{};return a}function h(b,c){"array"!==f.getType(b)&&(b="undefined"===f.getType(b)?[]:[b]);"array"!==f.getType(c)&&(c="undefined"===f.getType(c)?[]:[c]);return e.utils.arrayGetDistinctValues(b.concat(c))}function E(b,c,a,d,j,k,m){var s="array"===f.getType(e.utils.unwrapObservable(c)),k=k||"";if(f.isMapped(b))var g=e.utils.unwrapObservable(b)[n],a=D(g,a);var i=m||j,h=function(){return a[d]&&a[d].create instanceof 7Function},w=function(b){var f=F,g=e.dependentObservable;e.dependentObservable=function(a,b,c){c=c||{};a&&"object"==typeof a&&(c=a);var d=c.deferEvaluation,L=!1;c.deferEvaluation=!0;a=new G(a,b,c);if(!d){var g=a,d=e.dependentObservable;e.dependentObservable=G;a=e.isWriteableObservable(g);e.dependentObservable=d;a=G({read:function(){L||(e.utils.arrayRemoveItem(f,g),L=!0);return g.apply(g,arguments)},write:a&&function(a){return g(a)},deferEvaluation:!0});f.push(a)}return a};e.dependentObservable.fn= 8G.fn;e.computed=e.dependentObservable;b=e.utils.unwrapObservable(j)instanceof Array?a[d].create({data:b||c,parent:i,skip:M}):a[d].create({data:b||c,parent:i});e.dependentObservable=g;e.computed=e.dependentObservable;return b},t=function(){return a[d]&&a[d].update instanceof Function},u=function(b,f){var g={data:f||c,parent:i,target:e.utils.unwrapObservable(b)};e.isWriteableObservable(b)&&(g.observable=b);return a[d].update(g)};if(m=H.get(c))return m;d=d||"";if(s){var s=[],r=!1,l=function(a){return a};Regexp.java git://github.com/CleverCloud/Bianca.git | Java | 306 lines
62 boolean _isUnicode; 63 boolean _isPHP5String; 64 boolean _isUtf8; 64 boolean _isUtf8; 65 boolean _isEval; 66 168 case 'e': 169 _isEval = true; 170 break; 193 194 public boolean isEval() { 195 return _isEval;SmGenerator.pro git://github.com/gregsmirnov/bouml.git | Prolog | 344 lines
73 ./StateBehavior.h \ 74 ./PhpSettings.h \ 75 ./UmlFlow.h \ 98 ./UmlRegion.h \ 99 ./UmlAccessVariableValueAction.h \ 100 ./UmlForkPseudoState.h \ 105 ./ClassGlobalCmd.h \ 106 ./PhpSettingsCmd.h \ 107 ./UmlUseCaseView.h \ 143 ./UmlBaseActivityActionClasses.h \ 144 ./UmlBaseAccessVariableValueAction.h \ 145 ./UmlClassInstance.h \ 242 ./StateBehavior.cpp \ 243 ./PhpSettings.cpp \ 244 ./UmlFlow.cpp \_column_bar_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 144 lines
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/bin/easy/element/ColumnBar.php Source File</title> 6<link href="tabs.css" rel="stylesheet" type="text/css"/> 27 <div class="headertitle"> 28<h1>E:/E/GEAMP/www/openbiz/openbiz/bin/easy/element/ColumnBar.php</h1> </div> 29</div> 30<div class="contents"> 31<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <?php 32<a name="l00002"></a>00002 include_once(<span class="stringliteral">"ColumnText.php"</span>); 55<a name="l00025"></a>00025 $formObj = $this-><a class="code" href="class_element.html#abf87088a2cd6b615e8e8add31567ba5a">getFormObj</a>(); 56<a name="l00026"></a>00026 $color = <a class="code" href="class_expression.html#a85d5504074029bc1ebe18dd8de91571c">Expression::evaluateExpression</a>($this->m_Color, $formObj); 57<a name="l00027"></a>00027 <span class="keywordflow">if</span>(!$color){ 77<a name="l00047"></a>00047 $width = $this->m_Width; 78<a name="l00048"></a>00048 $max_value = <a class="code" href="class_expression.html#a85d5504074029bc1ebe18dd8de91571c">Expression::evaluateExpression</a>($this->m_MaxValue, $this-><a class="code" href="class_element.html#abf87088a2cd6b615e8e8add31567ba5a">getFormObj</a>()); 79<a name="l00049"></a>00049php.js git://github.com/forkcms/forkcms.git | JavaScript | 141 lines
32 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"), 33 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"), 34 multiLineStrings: true, 63 var htmlMode = CodeMirror.getMode(config, "text/html"); 64 var phpMode = CodeMirror.getMode(config, phpConfig); 65 91 return style; 92 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 93 state.curMode = htmlMode; 112 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 113 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 114 if (state.curMode == htmlMode) cur = htmlNew; 138 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 139 CodeMirror.defineMIME("text/x-php", phpConfig); 140});Document.php git://github.com/ThomasWeinert/FluentDOM.git | PHP | 364 lines
1<?php 2/* 6 * @copyright Copyright 2009-2021 FluentDOM Contributors 7 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 8 * 241 if (!empty($attributes)) { 242 foreach ($attributes as $attributeName => $attributeValue) { 243 $node->setAttribute($attributeName, $attributeValue);Documentos.php https://bitbucket.org/Vencar/apparchivosweb.git | PHP | 344 lines
1<?php 2 200 * Se limpian los datos de post para evitar 201 * inyecciones sql y se evalua 202 * si existe en la base de datos la categoriaTemperatureTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TemperatureTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 22 23if (!defined('PHPUnit_MAIN_METHOD')) { 24 define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main'); 29 */ 30require_once 'Zend/Measure/Temperature.php'; 31 34 */ 35require_once 'Zend/Registry.php'; 36 44 */ 45class Zend_Measure_TemperatureTest extends PHPUnit_Framework_TestCase 46{transports.c http://php52-backports.googlecode.com/svn/trunk/ | C | 520 lines
270/* Get the next client and their address (as a string) */ 271PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, 272 char **textaddr, int *textaddrlen, 309 310PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, 311 char **textaddr, int *textaddrlen, 340 341PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *session_stream TSRMLS_DC) 342{ 361 362PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate TSRMLS_DC) 363{ 383 * peeking, optionally retrieving OOB data */ 384PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 385 long flags, void **addr, socklen_t *addrlen, char **textaddr, int *textaddrlenknockout.mapping.js https://hg01.codeplex.com/daf | JavaScript | 59 lines
2// (c) 2011 Steven Sanderson, Roy Jacobs - http://knockoutjs.com/ 3// License: MIT (http://www.opensource.org/licenses/mit-license.php) 4 10 var b = d.dependentObservable; d.dependentObservable = function (b, 11c, e) { var e = e || {}, f = e.deferEvaluation; b && "object" == typeof b && (e = b); var l = !1, k = function (b) { var c = o({ read: function () { l || (d.utils.arrayRemoveItem(a, b), l = !0); return b.apply(b, arguments) }, write: function (a) { return b(a) }, deferEvaluation: !0 }); c.__ko_proto__ = o; return c }; e.deferEvaluation = !0; b = new o(b, c, e); b.__ko_proto__ = o; f || (a.push(b), b = k(b)); return b }; d.computed = d.dependentObservable; var e = c(); d.dependentObservable = b; d.computed = d.dependentObservable; return e 12 } function z(a, c, b, e, v, g) {TemperatureTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 448 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TemperatureTest.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 22 23if (!defined('PHPUnit_MAIN_METHOD')) { 24 define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main'); 29 */ 30require_once 'Zend/Measure/Temperature.php'; 31 34 */ 35require_once 'Zend/Registry.php'; 36 44 */ 45class Zend_Measure_TemperatureTest extends PHPUnit_Framework_TestCase 46{FaxOptions.php git://github.com/twilio/twilio-php.git | PHP | 267 lines
1<?php 2 206 /** 207 * Whether to store a copy of the sent media on our servers for later retrieval. Can be: `true` or `false` and the default is `true`. 208 *ReferenceEncryptedProperties.java http://owasp-esapi-java.googlecode.com/svn/trunk/ | Java | 294 lines
5 * Enterprise Security API (ESAPI) project. For details, please see 6 * <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>. 7 * 119 } catch (Exception e) { 120 throw new EncryptionRuntimeException("Property retrieval failure", 121 "Couldn't retrieve encrypted property for property " + key +mdl.magickwand.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 439 lines
1<?php 2/** 5 * @package 6 * @version $Id: mdl.magickwand.php 1867 2008-04-23 04:00:24Z hujianxin $ 7 * @copyright 2003-2007 ShopEx 168 MagickSetImageType($wm_image, MW_TrueColorMatteType); 169 MagickEvaluateImage($wm_image, MW_SubtractEvaluateOperator, $opacity, MW_OpacityChannel); 170 MagickCompositeImage($src_image, $wm_image, MW_OverCompositeOp, $wm_image_x, $wm_image_y);Date.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 351 lines
125 */ 126 public static function ExcelToPHPObject($dateValue = 0) 127 { 155 { 156 $retValue = self :: FormattedPHPToExcel($dateValue->format('Y'), $dateValue->format('m'), $dateValue->format('d'), $dateValue->format('H'), $dateValue->format('i'), $dateValue->format('s')); 157 } 159 { 160 $retValue = self :: FormattedPHPToExcel(date('Y', $dateValue), date('m', $dateValue), date('d', $dateValue), date('H', $dateValue), date('i', $dateValue), date('s', $dateValue)); 161 } 327 328 $dateValueNew = PHPExcel_Calculation_DateTime :: DATEVALUE($dateValue); 329 337 { 338 $timeValue = PHPExcel_Calculation_DateTime :: TIMEVALUE($dateValue); 339 if ($timeValue === PHPExcel_Calculation_Functions :: VALUE())ejs.js git://github.com/appcelerator/titanium_desktop.git | JavaScript | 468 lines
9 * EJS is a client-side preprocessing engine written in and for JavaScript. 10 * If you have used PHP, ASP, JSP, or ERB then you get the idea: code embedded 11 * in <% // Code here %> tags will be executed, and code embedded in <%= .. %> 11 * in <% // Code here %> tags will be executed, and code embedded in <%= .. %> 12 * tags will be evaluated and appended to the output. 13 * 25 * compiler.compile(); 26 * var output = eval(compiler.out); 27 * alert(output); // -> "<h1>Hello, EJB!</h1>" 291 this.out = buff.script + ";"; 292 var to_be_evaled = 'this.process = function(_CONTEXT,_VIEW) { try { with(_VIEW) { with (_CONTEXT) {'+this.out+" return ___ejsO;}}}catch(e){e.lineNumber=null;throw e;}};"; 293 294 try{ 295 eval(to_be_evaled); 296 }catch(e){tiny-images.php http://bitcero-modules.googlecode.com/svn/ | PHP | 205 lines
1<?php 2// $Id: tiny-images.php 511 2010-07-26 06:08:44Z i.bitcero $ 10 11include '../../../mainfile.php'; 12XoopsLogger::getInstance()->activated = false; 36 if (!$cat->isNew()){ 37 $uploader = new RMFlashUploader('files-container', 'upload.php'); 38 $uploader->add_setting('scriptData', array( 40 'category'=>$cat->id(), 41 'rmsecurity'=>TextCleaner::getInstance()->encrypt($xoopsUser->uid().'|'.RMCURL.'/images.php'.'|'.$xoopsSecurity->createToken(), true)) 42 ); 55 $uploader->add_setting('onComplete',"function(event, id, file, resp, data){ 56 eval('ret = '+resp); 57 if (ret.error){ 76 var increments = 1/total*100; 77 url = '".RMCURL."/images.php'; 78XmlReferenceDumper.php git://github.com/fabpot/symfony.git | PHP | 303 lines
1<?php 2 99 if ($prototype->hasDefaultValue()) { 100 $prototypeValue = $prototype->getDefaultValue(); 101 } else { 103 case 'Symfony\Component\Config\Definition\ScalarNode': 104 $prototypeValue = 'scalar value'; 105 break; 108 case 'Symfony\Component\Config\Definition\IntegerNode': 109 $prototypeValue = 'numeric value'; 110 break; 112 case 'Symfony\Component\Config\Definition\BooleanNode': 113 $prototypeValue = 'true|false'; 114 break; 116 case 'Symfony\Component\Config\Definition\EnumNode': 117 $prototypeValue = implode('|', array_map('json_encode', $prototype->getValues())); 118 break;BuilderTest.php git://github.com/ThomasWeinert/FluentDOM.git | PHP | 441 lines
1<?php 2/* 6 * @copyright Copyright 2009-2021 FluentDOM Contributors 7 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 8 * 18 19 require_once __DIR__.'/../TestCase.php'; 20 197 $builder->getContentNodes( 198 $nodes->xpath()->evaluate('//item'), TRUE, 1 199 ) 243 $builder = new Builder($nodes); 244 $array = $builder->getContentNodes($document->xpath()->evaluate('//item'), TRUE, 1); 245 $nodes->document->appendChild($array[0]); 261 ); 262 $builder->getContentNodes($document->xpath()->evaluate('//item')); 263 }Xml.class.php http://sqltoappledictionary.googlecode.com/svn/trunk/ | PHP | 377 lines
1<?php 2 12 public $_nodeName; 13 public $_nodeValue; 14 public $_attributes; 28 } 29 public function getNodeValue() { 30 if($this->nodeType == Xml::$Element || $this->nodeType == Xml::$Document) { 32 } 33 return $this->_nodeValue; 34 } 34 } 35 public function setNodeValue($v) { 36 if($this->nodeType == Xml::$Element || $this->nodeType == Xml::$Document) { 38 } 39 return $this->_nodeValue = $v; 40 }nrepl.clj git://github.com/clojure/tools.nrepl.git | Clojure | 246 lines
2; The use and distribution terms for this software are covered by the 3; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) 4; which can be found in the file epl-v10.html at the root of this distribution. 145 (literally, no interpolation/quasiquoting of locals or other 146 references), suitable for use in an :eval message, e.g.: 147 147 148 {:op :eval, :code (code (+ 1 1) (slurp \"foo.txt\"))}" 149 [& body]cp_man.php https://gitlab.com/BGCX261/zjrenju-svn-to-git.git | PHP | 457 lines
51 ACP_ShowHeader('比赛设置'); 52 eval ('echo "'.LoadTemplate('cp_man').'";'); 53 ACP_ShowFooter(); 70 ACP_ShowHeader('比赛管理'); 71 eval ('echo "'.LoadTemplate('cp_man_1').'";'); 72 ACP_ShowFooter(); 242 } 243 Header("Location: index.php?mode=cp_man"); 244 exit(); 288 $buf.="</h5>"; 289 $buf.="<h5>Totally $total games, $finished finished. [<a href=\"g_search.php?&action=list&cp_id=$cp_id\">view</a>] [<a href=\"g_search.php?&action=list&cp_id=$cp_id&packdown=1\">download</a>] </h5>"; 290 324 $buf.='<b>Group '.chr(65+$num)." ($str_status)</b>"; 325 $buf.="</td><td align=\"right\">$finished/$total finished.[<a href=\"g_search.php?&action=list&group_id=$gpdata[group_id]\">view</a>] [<a href=\"g_search.php?&action=list&group_id=$gpdata[group_id]&packdown=1\">download</a>]</td></tr></table>"; 326 //生成表格redis_cluster.h git://github.com/nicolasff/phpredis.git | C Header | 298 lines
4#include "cluster_library.h" 5#include <php.h> 6#include <stddef.h> 8/* Get attached object context */ 9#define GET_CONTEXT() PHPREDIS_ZVAL_GET_OBJECT(redisCluster, getThis()) 10 100/* RedisCluster method implementation */ 101PHP_METHOD(RedisCluster, __construct); 102PHP_METHOD(RedisCluster, close); 102PHP_METHOD(RedisCluster, close); 103PHP_METHOD(RedisCluster, get); 104PHP_METHOD(RedisCluster, set); 223PHP_METHOD(RedisCluster, punsubscribe); 224PHP_METHOD(RedisCluster, eval); 225PHP_METHOD(RedisCluster, evalsha);GeneratedQueryDoSelectTest.php https://gitlab.com/lcp0578/Propel2.git | PHP | 411 lines
1<?php 2 138 $obj2 = $joinBooks[0]; 139 $obj2Array = $obj2->toArray(TableMap::TYPE_PHPNAME, true, array(), true); 140 // $joinSize = strlen(serialize($obj2)); 158 159 $sampleval = md5(microtime()); 160 255 * Test hydration of joined rows that contain lazy load columns. 256 * @link http://propel.phpdb.org/trac/ticket/464 257 */ 286 * Testing foreign keys with multiple referrer columns. 287 * @link http://propel.phpdb.org/trac/ticket/606 288 */ 325 * Testing foreign keys with multiple referrer columns. 326 * @link http://propel.phpdb.org/trac/ticket/606 327 */XML.php git://github.com/openid/php-openid.git | PHP | 387 lines
1<?php 2 3/** 4 * XML-parsing classes to wrap the domxml and DOM extensions for PHP 4 5 * and 5, respectively. 10/** 11 * The base class for wrappers for available PHP XML-parsing 12 * extensions. To work with this Yadis library, subclasses of this 14 * class. Subclasses of Auth_Yadis_XMLParser are used to wrap 15 * particular PHP XML extensions such as 'domxml'. These are used 16 * internally by the library depending on the availability of 16 * internally by the library depending on the availability of 17 * supported PHP XML extensions. 18 * 83 /** 84 * Evaluate an XPath expression and return the resulting node 85 * list. This should be overridden by subclasses.TraverserPredicateFactory.java git://pkgs.fedoraproject.org/plexus-graph | Java | 458 lines
12 * The license text can also be found at 13 * http://opensource.org/licenses/cpl.php 14 */ 231 232 abstract boolean evaluate( Object targetUserObject, Object targetNode ); 233 233 234 public boolean evaluate( Object object ) 235 { 256 257 return evaluate( edge.getUserObject(), edge.getOtherEndpoint( baseNode ) ); 258 } 321 322 boolean evaluate( Object targetUserObject, Object targetNode ) 323 {chapter4.html http://ds-pro-chat.googlecode.com/svn/trunk/ | HTML | 165 lines
14 <ul id="mainmenu"> 15 <li><a href="http://www.christian-seiler.de/projekte/php/bbcode/index_en.html">Project homepage</a></li> 16 <li><a href="chapter1.html">Documentation</a></li> 16 <li><a href="chapter1.html">Documentation</a></li> 17 <li><a href="../phpdoc/index.html">PHPDOC Documentation</a></li> 18 <li><a href="http://www.christian-seiler.de/projekte/php/bbcode/download_en.html">Download</a></li> 45 <li><a href="chapter4.html#example">4.3 Example for a callback function that replaces links</a></li> 46 <li><a href="chapter4.html#revalidation">4.4 Revalidation on close tag occurrence</a></li> 47 </ul></li> 93<p>All callback functions must have the following prototype:</p> 94<p class="php"><code>function name_der_funktion ($action, $attributes, $content, $params, &$node_object) { <br> // do something<br>}</code></p> 95<p>The following list shows how and when callback functions are called during the processing of <abbr>BBCode</abbr>:</p> 149<p>Furthermore in the above example the <code>[url]</code> code has the processing type <code>usecontent?</code> to be able to write normal text between start and end tag that will be the link title if the code is specified in the form <code>[url=http://.../]</code> or that the URL is specified between start and end tag like <code>[url]http://.../[/url]</code>. Depending on the existance of the <code>default</code> attribute the function determines which form the user has chosen.</p> 150<h3 id="revalidation"><a name="revalidation">4.4 Revalidation on close tag occurrence</a></h3> 151<p>Normally the callback function is only called with <code>$action == 'validate'</code> set if the opening tag occurs. But it is possible to tell the class to call the callback function again when the closing tag occurs - this time with <code>$action == 'validate_again'</code>. Just call the method <code>setValidateAgain</code>:</p>CakeValidationSetTest.php git://github.com/hugodias/cakeStrap.git | PHP | 339 lines
2/** 3 * CakeValidationSetTest file 4 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 16 * @package Cake.Test.Case.Model.Validator 27 */ 28class CakeValidationSetTest extends CakeTestCase { 29 126 $rules = array('validEmail' => array('rule' => 'email', 'message' => 'Invalid email')); 127 $Rule = new CakeValidationRule($rules['validEmail']); 128 $Field->setRule('validEmail', $Rule);Decoder.php git://github.com/shevron/sopha.git | PHP | 462 lines
1<?php 2 3/** 4 * Sopha - A PHP 5.x Interface to CouchDB 5 * 28 29require_once 'Sopha/Json.php'; 30 31/** 32 * Decode JSON encoded string to PHP variable constructs 33 * 146 if (null === $source) { 147 require_once 'Sopha/Json/Exception.php'; 148 throw new Sopha_Json_Exception('Must specify JSON encoded source for decoding'); 149 } elseif (!is_string($source)) { 150 require_once 'Sopha/Json/Exception.php'; 151 throw new Sopha_Json_Exception('Can only decode JSON encoded strings');PackageService.php https://bitbucket.org/dealerinspire/googleads-php-lib.git | PHP | 195 lines
1<?php 2 31 'DateTime' => 'Google\\AdsApi\\Dfp\\v201611\\DateTime', 32 'DateTimeValue' => 'Google\\AdsApi\\Dfp\\v201611\\DateTimeValue', 33 'DateValue' => 'Google\\AdsApi\\Dfp\\v201611\\DateValue',AddGoogleMyBusinessLocationExtensions.php https://bitbucket.org/dealerinspire/googleads-php-lib.git | PHP | 223 lines
1<?php 2/** 18 19require __DIR__ . '/../../../../vendor/autoload.php'; 20 126 127 // Create a matching function that will always evaluate to true. 128 $customerMatchingFunction = new MatchingFunction();album_show.htm https://gitlab.com/BGCX261/zhubao-tupu-svn-to-git.git | HTML | 223 lines
1<?php 2 $css_list[0]['url'] = './tpl/css/imagewall.css'; 59 <ul class="taport" id="jqury-textdecoration"> 60 <!--{eval $indx = 1;}--> 61 <!--{loop $album_list $album}-->CakeValidationRule.php git://github.com/yandod/candycane.git | PHP | 350 lines
1<?php 2/** 2/** 3 * CakeValidationRule. 4 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Model.Validator 16 * @package Cake.Model.Validator 17 * @since CakePHP(tm) v 2.2.0 18 * @license http://www.opensource.org/licenses/mit-license.php MIT License 23/** 24 * CakeValidationRule object. Represents a validation method, error message and 25 * rules for applying such method to a field.Distinct.cs https://hg.codeplex.com/dotnetrdf | C# | 317 lines
67 /// <returns></returns> 68 public BaseMultiset Evaluate(SparqlEvaluationContext context) 69 { 165 /// <exception cref="NotSupportedException">Thrown since a Distinct() cannot be converted to a Graph Pattern</exception> 166 public GraphPattern ToGraphPattern() 167 { 203 /// <returns></returns> 204 public BaseMultiset Evaluate(SparqlEvaluationContext context) 205 { 205 { 206 context.InputMultiset = context.Evaluate(this._pattern);//this._pattern.Evaluate(context); 207 300 /// <exception cref="NotSupportedException">Thrown since a Reduced() cannot be converted to a Graph Pattern</exception> 301 public GraphPattern ToGraphPattern() 302 {COutputCache.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 338 lines
1<?php 2/** 55 * <li>{@link varyByExpression}: this specifies whether the cached content 56 * should be varied with the result of the specified PHP expression.</li> 57 * </ul> 60 * @author Qiang Xue <qiang.xue@gmail.com> 61 * @version $Id: COutputCache.php 2497 2010-09-23 13:28:52Z mdomba $ 62 * @package system.web.widgets 94 /** 95 * @var string a PHP expression whose result is used in the cache key calculation. 96 * By setting this property, the output cache will use different cached data 97 * for each different expression result. 98 * Starting from version 1.0.11, the expression can also be a valid PHP callback, 99 * including class method name (array(ClassName/Object, MethodName)), 99 * including class method name (array(ClassName/Object, MethodName)), 100 * or anonymous function (PHP 5.3.0+). The function/method signature should be as follows: 101 * <pre>All_confirmed_visitors.java https://bitbucket.org/izoneafricaltd/yatta_spin_the_wheel.git | Java | 398 lines
25import org.apache.http.HttpResponse; 26import org.apache.http.NameValuePair; 27import org.apache.http.StatusLine; 32import org.apache.http.impl.client.DefaultHttpClient; 33import org.apache.http.message.BasicNameValuePair; 34import org.json.JSONArray; 70 // id - should be posted as GET params to get task list (ex: id = 5) 71 private static final String URL_TASKS = "http://izonestudio.net/yatta_spin/fetch_data2.php"; 72 202 203 public String getHttpPost(String url,List<NameValuePair> params) { 204 StringBuilder str = new StringBuilder(); 254 // Building Parameters 255 List<NameValuePair> params = new ArrayList<NameValuePair>(); 256//String cf="france";doc.php https://gitlab.com/BillRocha/plim.git | PHP | 438 lines
1<?php 2/** 178 header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 31536000) . ' GMT'); 179 header('Cache-Control: must_revalidate, public, max-age=31536000'); 180 header('Server: Qzumba/BETA 0.0.8');//for safety ... 223 */ 224 function produce($php = false, $brade = false, $sTag = true){ 225 //With blade ??? 252 //Eval PHP in HTML 253 if($php) $this->evalPHP(); 254 351 ob_start(); 352 $ret = eval('return '.$out.';'); 353 if(ob_get_clean() === '') $out = $ret;run.php git://github.com/ci-bonfire/Bonfire.git | PHP | 501 lines
1<?php 2 18define('SIMPLETEST', MAIN_PATH .'tests/simpletest/'); // Directory of simpletest 19define('ROOT', MAIN_PATH .'public/'); // Directory of codeigniter index.php 20define('TESTS_DIR', MAIN_PATH . 'tests/'); // Directory of your tests. 53//do not use autorun as it output ugly report upon no test run 54require_once SIMPLETEST . 'unit_tester.php'; 55require_once SIMPLETEST . 'mock_objects.php'; 55require_once SIMPLETEST . 'mock_objects.php'; 56require_once SIMPLETEST . 'collector.php'; 57require_once SIMPLETEST . 'web_tester.php'; 57require_once SIMPLETEST . 'web_tester.php'; 58require_once TESTS_DIR . '_support/my_reporter.php'; 59 69ob_start(); 70 include(ROOT . 'index.php'); 71 $ci =& get_instance();myocamlbuild.ml git://github.com/aryx/fork-ocsigen.git | OCaml | 504 lines
47 48 let eval var_get t = 49 let rec eval' = 54 | ENot e -> 55 not (eval' e) 56 57 | EAnd (e1, e2) -> 58 (eval' e1) && (eval' e2) 59 60 | EOr (e1, e2) -> 61 (eval' e1) || (eval' e2) 62 75 in 76 eval' t 77config.m4 git://github.com/c9s/phpbrew.git | m4 | 375 lines
33AC_DEFUN([PHP_MBSTRING_EXTENSION], [ 34 PHP_NEW_EXTENSION(mbstring, $PHP_MBSTRING_SOURCES, $ext_shared,, $PHP_MBSTRING_CFLAGS) 35 PHP_SUBST(MBSTRING_SHARED_LIBADD) 46 if test "$ext_shared" = "no"; then 47 PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES) 48 out="php_config.h" 172 PHP_CHECK_LIBRARY(onig, onig_init, [ 173 PHP_ADD_LIBRARY_WITH_PATH(onig, $PHP_ONIG/$PHP_LIBDIR, MBSTRING_SHARED_LIBADD) 174 AC_DEFINE([HAVE_ONIG], [1], [Define to 1 if the oniguruma library is available]) 202 PHP_MBSTRING_ADD_BASE_SOURCES([php_mbregex.c]) 203 PHP_MBSTRING_ADD_INSTALL_HEADERS([php_mbregex.h php_onig_compat.h]) 204 fi 329 PHP_CHECK_LIBRARY(mbfl, mbfl_buffer_converter_new, [ 330 PHP_ADD_LIBRARY_WITH_PATH(mbfl, $PHP_LIBMBFL/$PHP_LIBDIR, MBSTRING_SHARED_LIBADD) 331 ],[Item.php https://bitbucket.org/ttphong2612/billigastamplar-new.se.git | PHP | 447 lines
1<?php 2/** 131 132 if ($expires = $this->_getAttributeValue('expiration_date')) { 133 $expires = $this->gBaseDate2DateTime($expires); 225 226 $attributes = $this->getAttributeValues(); 227 if (is_array($attributes) && count($attributes)) { 269 $entry = $this->getEntry(); 270 $attributeValues = $this->getAttributeValues(); 271 309 310 if (isset($attributeValues['price']['value']) && floatval($attributeValues['price']['value']) > 0) { 311 $price = $attributeValues['price']['value']; 332 // set new 'attribute_values' with removed 'title' and/or 'description' keys to avoid 'duplicate' errors 333 $this->setAttributeValues($attributeValues); 334user_preferences.forms.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 273 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 10 * You can assign default values set by special button ("set value: ..."), eg.: 11 * 'Servers/1/pmadb' => 'phpmyadmin' 12 * 19 * 20 * @package PhpMyAdmin 21 */ 28 'InitialSlidersState', 29 'LoginCookieValidity', 30 'Servers/1/only_db', // saves to Server/only_db 55// settings from this form are treated specially, 56// see prefs_forms.php and user_preferences.lib.php 57$forms['Features']['Developer'] = array( 75 'SQLQuery/Explain', 76 'SQLQuery/ShowAsPHP', 77 'SQLQuery/Validate',Statistics.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 309 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: Statistics.php 23775 2011-03-01 17:25:24Z ralph $ 22 */ 26 */ 27require_once 'Zend/Gdata/Extension.php'; 28 159 case 'videoWatchCount': 160 $this->_videoWatchCount = $attribute->nodeValue; 161 break; 162 case 'viewCount': 163 $this->_viewCount = $attribute->nodeValue; 164 break; 165 case 'subscriberCount': 166 $this->_subscriberCount = $attribute->nodeValue; 167 break;ResultSet.php git://github.com/spadefoot/kohana-orm-leap.git | PHP | 362 lines
1<?php defined('SYSPATH') OR die('No direct script access.'); 2 269 * @override 270 * @param integer $offset the offset to be evaluated 271 * @return boolean whether the requested offset existsunpack.js git://github.com/kvz/phpjs.git | JavaScript | 358 lines
8 // % note 2: Home: http://www.kingsquare.nl/blog/22-12-2009/13650536 9 // % note 3: Feedback: phpjs-unpack@kingsquare.nl 10 // % note 4: 'machine dependant byte order and size' aren't 22 var b = [], bias, signal, exponent, significand, divisor, curByte, 23 byteValue, startBit = 0, mask, currentResult; 24 287 do { 288 byteValue = b[ ++curByte ]; 289 startBit = precisionBits % 8 || 8; 291 for(; (mask >>= 1);) { 292 if (byteValue & mask) { 293 significand += 1 / divisor;aigen.tcl http://egghelp.googlecode.com/svn/trunk/ | TCL | 514 lines
12 13namespace eval aigen { 14foreach p [array names aigen *] { catch {unset aigen ($p) } } 226 if {[string match "*????*" $::lastbind] || [string match "*dwarf*" $::lastbind]} { 227 set ustr "dec_dwarf_pic.php?monster=[uenc $ustr]" 228 set mtype 1 229 } elseif {[string match "*????*" $::lastbind]} { 230 set ustr "bayan.php?creo_text=[uenc $ustr]" 231 set mtype 2 232 } else { 233 set ustr "dec_monster_pic1.php?monster=[uenc $ustr]" 234 set mtype 0WindDbCache.php git://github.com/phpwind/windframework.git | PHP | 259 lines
1<?php 2Wind::import('WIND:cache.AbstractWindCache'); 65 * @author xiaoxiao <xiaoxia.xuxx@aliyun-inc.com> 66 * @copyright ©2003-2103 phpwind.com 67 * @license http://www.windframework.com 120 121 /* (non-PHPdoc) 122 * @see AbstractWindCache::setValue() 127 128 /* (non-PHPdoc) 129 * @see AbstractWindCache::addValue() 134 135 /* (non-PHPdoc) 136 * @see AbstractWindCache::getValue() 143 144 /* (non-PHPdoc) 145 * @see AbstractWindCache::batchGet()TpDb.php http://turbophp.googlecode.com/svn/trunk/ | PHP | 383 lines
1<?php 2 3# +----------------------------------------------------------------------+ 4# | TurboPhp 4 - TpDb 5# | Version 4.0 Beta | 8# +----------------------------------------------------------------------+ 9# | This source file is subject to the terms of the TurboPhp license, | 10# | that is bundled with this package in the file LICENSE.TXT, and is | 11# | available at through the world-wide-web at | 12# | http://www.turbophp.com/turbophp/license.txt | 13# +----------------------------------------------------------------------+ 55 if ($this->ConfigFile == '') 56 $this->ConfigFile = $tpSupportPath . "$this->Name.conf.php"; 57 if (!$this->ConnectManually) 310{ 311 function StoreValue() 312 {CHANGELOG.md https://bitbucket.org/gwathsule/enterfriend.git | Markdown | 364 lines
38 39* Fix some inconsistencies in PHPDoc 40 114 115* Add refund listing and retrieval without an associated charge 116 118 119* Add dispute listing and retrieval 120* Add support for manage account deletion 123 124* Rename `\Stripe\Object` to `\Stripe\StripeObject` (PHP 7 compatibility) 125* Rename `getCode` and `getParam` in exceptions to `getStripeCode` and `getStripeParam` 125* Rename `getCode` and `getParam` in exceptions to `getStripeCode` and `getStripeParam` 126* Add support for calling `json_encode` on Stripe objects in PHP 5.4+ 127* Start supporting/testing PHP 7UploadBehavior.php git://github.com/josegonzalez/upload.git | PHP | 276 lines
1<?php 2declare(strict_types=1); 110 if ($entity->get($field)->getError() !== UPLOAD_ERR_OK) { 111 if (Hash::get($settings, 'restoreValueOnFailure', true)) { 112 $entity->set($field, $entity->getOriginal($field));loader.js https://bitbucket.org/brijesh_sn/finalezaars.git | JavaScript | 285 lines
8 * It is also available through the world-wide-web at this URL: 9 * http://opensource.org/licenses/afl-3.0.php 10 * If you did not receive a copy of the license and are unable to 22 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 23 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24 */ 69 if (response.responseText.isJSON()) { 70 var jsonObject = response.responseText.evalJSON(); 71 if (jsonObject.ajaxExpired && jsonObject.ajaxRedirect) { 87 var contentType = response.getHeader('Content-type'); 88 if (this.options.evalJS == 'force' 89 || (this.options.evalJS && this.isSameOrigin() && contentType 90 && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) { 91 this.evalResponse(); 92 }Locator.php git://github.com/Codeception/Codeception.git | PHP | 400 lines
1<?php 2namespace Codeception\Util; 19 * 20 * ```php 21 * <?php 30 * 31 * ```php 32 * <?php 64 * 65 * ```php 66 * <?php 68 * 69 * $I->see('Log In', Locator::href('/login.php')); 70 * ?> 88 * You could try to match elements by their tab position using `tabIndex` method of `Locator` class. 89 * ```php 90 * <?phpObserver.php https://bitbucket.org/hexzawanekz/magento.git | PHP | 413 lines
1<?php 2/** 53 */ 54 public function handleValidation($observer) 55 {OpportunityConvertToView.php https://bitbucket.org/zurmo/zurmo/ | PHP | 219 lines
1<?php 2 /********************************************************************************* 62 array('type' => 'BackConvertLink'), 63 array('type' => 'SaveButton', 'label' => "eval:Zurmo::t('ZurmoModule', 'Complete Conversion')"), 64 array('type' => 'CancelConvertLink'),Image.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 431 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 5 * 6 * $Id: Image.php 3917 2009-01-21 03:06:22Z zombor $ 7 * 10 * @copyright (c) 2007-2008 Kohana Team 11 * @license http://kohanaphp.com/license.html 12 */ 76 77 // Disable error reporting, to prevent PHP warnings 78 $ER = error_reporting(0); 123 /** 124 * Handles retrieval of pre-save image properties 125 *view.php git://github.com/jasonhinkle/phreeze.git | PHP | 589 lines
1<?php namespace Laravel; use Closure, ArrayAccess; 2 177 178 // Views may have either the default PHP file extension or the "Blade" 179 // extension, so we will need to check for both in the view path 323 /** 324 * Get the evaluated string content of the view. 325 * 345 /** 346 * Get the evaluated contents of the view. 347 * 365 { 366 eval('?>'.$__contents); 367 } 379 // The view filter event gives us a last chance to modify the 380 // evaluated contents of the view and return them. This lets 381 // us do something like run the contents through Jade, etc.CakeHtmlReporter.php git://github.com/cakephp/cakephp.git | PHP | 351 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @since CakePHP(tm) v 1.2.0.4433 15 * @since CakePHP(tm) v 1.2.0.4433 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */ 110 header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); 111 header("Cache-Control: no-store, no-cache, must-revalidate"); 112 header("Cache-Control: post-check=0, pre-check=0", false); 120 * 121 * @param PHPUnit_Framework_TestResult $result Result object 122 * @return voidStripTags.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: StripTags.php 14359 2009-03-18 13:24:04Z matthew $ 21 */ 26 */ 27require_once 'Zend/Filter/Interface.php'; 28 272 $attributeDelimiter = $matches[2][$index]; 273 $attributeValue = $matches[3][$index]; 274 281 $tagAttributes .= " $attributeName=" . $attributeDelimiter 282 . $attributeValue . $attributeDelimiter; 283 }yb.php http://zhxiaojm.googlecode.com/svn/trunk/ | PHP | 206 lines
27 case "shi": 28 @eval("\$found = eregi(\"$keyword[$ai]\",\"$detail[2]\");");break; 29 case "cun": 29 case "cun": 30 @eval("\$found = eregi(\"$keyword[$ai]\",\"$detail[3]\");");break; 31 case "youbian": 111<td width="50%"><form action="" method="get" name="f1">???????<select name="q" id="q" style="width:100px"> 112<?php 113$count = count($sheng); 122<tr> 123<td><form action="" method="get" name="f1">???????<input name="q" id="q" type="text" size="18" delay="0" value="<?php if($_GET['w']=="shi") echo $q; ?>" style="width:100px;height:22px;font-size:16px;font-family: Geneva, Arial, Helvetica, sans-serif;" onmouseover="this.select()" /><input name="w" id="w" type="hidden" value="shi" /> <input type="submit" value=" ?? " /></form></td><td><form action="" method="get" name="f1">???????<input name="q" id="q" type="text" size="18" delay="0" value="<?php if($_GET['w']=="cun") echo $q; ?>" style="width:100px;height:22px;font-size:16px;font-family: Geneva, Arial, Helvetica, sans-serif;" onmouseover="this.select()" /><input name="w" id="w" type="hidden" value="cun" /> <input type="submit" value=" ?? " /></form></td> 124</tr> 125<tr> 126<td><form action="" method="get" name="f1">???????<input name="q" id="q" type="text" size="18" delay="0" value="<?php if($_GET['w']=="youbian") echo $q; ?>" style="width:100px;height:22px;font-size:16px;font-family: Geneva, Arial, Helvetica, sans-serif;" onmouseover="this.select()" /><input name="w" id="w" type="hidden" value="youbian" /> <input type="submit" value=" ?? " /></form></td><td><form action="" method="get" name="f1">???????<input name="q" id="q" type="text" size="18" delay="0" value="<?php if($_GET['w']=="quhao") echo $q; ?>" style="width:100px;height:22px;font-size:16px;font-family: Geneva, Arial, Helvetica, sans-serif;" onmouseover="this.select()" /><input name="w" id="w" type="hidden" value="quhao" /> <input type="submit" value=" ?? " /></form></td> 127</tr> 205</div> 206<?php @require_once('../foot.php');?>RedisVersion280.php git://github.com/nrk/predis.git | PHP | 267 lines
1<?php 2 225 /* scripting */ 226 'EVAL' => 'Predis\Command\ServerEval', 227 'EVALSHA' => 'Predis\Command\ServerEvalSHA',Store.php https://bitbucket.org/ttphong2612/billigastamplar-new.se.git | PHP | 510 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2018 Magento, Inc. (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 122 */ 123 public function getStoreValuesForForm($empty = false, $all = false) 124 { 252 */ 253 public function getWebsiteValuesForForm($empty = false, $all = false) 254 {index.md https://bitbucket.org/Mmagde/wireless.git | Markdown | 423 lines
21 22PHP >= 5.6.4 , 23PHP Curl extension 33``` 34php artisan key:generate 35``` 39``` 40 php artisan migrate 41``` 45``` 46 php artisan db:seed 47``` 52``` 53 php artisan serve 54```GamePoint.php https://bitbucket.org/zurmo/zurmo/ | PHP | 359 lines
1<?php 2 /********************************************************************************* 86 { 87 $this->replaceValue($value); 88 } 242 */ 243 public function replaceValue($value) 244 {ClassLoader.php https://gitlab.com/krlosnando/cenfo-crm.git | PHP | 263 lines
1<?php 2/* 28 * If no include path is configured through the constructor or {@link setIncludePath}, a ClassLoader 29 * relies on the PHP <code>include_path</code>. 30 * 36 /** 37 * @var string PHP file extension 38 */ 38 */ 39 protected $fileExtension = '.php'; 40 51 /** 52 * @var string PHP namespace separator 53 */ 59 * 60 * If no include path is given, the ClassLoader relies on the PHP include_path. 61 * If neither a namespace nor an include path is given, the ClassLoader willSpecialScopes.cs https://Phalanger.svn.codeplex.com/svn | C# | 120 lines
24using PHP.Core; 25using PHP.Core.AST; 26using PHP.Core.Reflection; 55 56 // PHP native functions 57 scope.AddDeclaration(new SpecialFunctionDecl( 59 new FunctionParamInfo[] { 60 new FunctionParamInfo("arg1", "string", "String to be printed.", new PHP.Core.Parsers.Position()), 61 new FunctionParamInfo("...", "string", "String to be printed.", new PHP.Core.Parsers.Position(), true) 66 scope.AddDeclaration(new SpecialFunctionDecl("clone", null, new FunctionParamInfo[] { new FunctionParamInfo("variable", "string", "Object to be cloned.", new PHP.Core.Parsers.Position()) }, false)); 67 scope.AddDeclaration(new SpecialFunctionDecl("include", "The include() statement includes and evaluates the specified file.", new FunctionParamInfo[] { new FunctionParamInfo("file_name", "string", "File to be included.", new PHP.Core.Parsers.Position()) }, false)); 68 scope.AddDeclaration(new SpecialFunctionDecl("include_once", "Includes and evaluates the specified file.\nIf the code from a file has already been included, it will not be included again.", new FunctionParamInfo[] { new FunctionParamInfo("file_name", "string", "File to be included.", new PHP.Core.Parsers.Position()) }, false)); 69 scope.AddDeclaration(new SpecialFunctionDecl("require", "The require() statement includes and evaluates the specified file.", new FunctionParamInfo[] { new FunctionParamInfo("file_name", "string", "File to be included.", new PHP.Core.Parsers.Position()) }, false)); 70 scope.AddDeclaration(new SpecialFunctionDecl("require_once", "Includes and evaluates the specified file.\nIf the code from a file has already been included, it will not be included again.", new FunctionParamInfo[] { new FunctionParamInfo("file_name", "string", "File to be included.", new PHP.Core.Parsers.Position()) }, false)); 71Inclusions.CLR.cs https://Phalanger.svn.codeplex.com/svn | C# | 399 lines
20 21using PHP.Core; 22using PHP.Core.AST; 22using PHP.Core.AST; 23using PHP.Core.Parsers; 24using PHP.Core.Emit; 25 26namespace PHP.Core.Reflection 27{ 29 { 30 StaticArgEvaluated, 31 StaticArgReplaced, 120 public Dictionary<PhpSourceFile, CompilationUnit> Nodes { get { return nodes; } } 121 private readonly Dictionary<PhpSourceFile, CompilationUnit> nodes = new Dictionary<PhpSourceFile, CompilationUnit>(); 122ScrollComposite.js https://hg.codeplex.com/hackathon | JavaScript | 346 lines
11 LGPL: http://www.gnu.org/licenses/lgpl.html 12 EPL: http://www.eclipse.org/org/documents/epl-v10.php 13 See the LICENSE file in the project's top-level directory for details. 292 child.addListener("input", this._fixChildElementsHeight, child); 293 child.addListener("changeValue", this._fixChildElementsHeight, child); 294 } 309 child.removeListener("input", this._fixChildElementsHeight, child); 310 child.removeListener("changeValue", this._fixChildElementsHeight, child); 311 }