-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmicrofy_aliases.php
More file actions
679 lines (676 loc) · 16.2 KB
/
Copy pathmicrofy_aliases.php
File metadata and controls
679 lines (676 loc) · 16.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
<?php
/**
* microfyPHP
* microfy_aliases.php
* v0.1.8
* Author: SirCode
*/
if (!function_exists('val')) {
function val(...$args) {
return Microfy::val(...$args);
}
}
if (!function_exists('getVar')) {
function getVar(...$args) {
return Microfy::getVar(...$args);
}
}
if (!function_exists('postVar')) {
function postVar(...$args) {
return Microfy::postVar(...$args);
}
}
if (!function_exists('requestVar')) {
function requestVar(...$args) {
return Microfy::requestVar(...$args);
}
}
if (!function_exists('extractKeys')) {
function extractKeys(...$args) {
return Microfy::extractKeys(...$args);
}
}
if (!function_exists('getVars')) {
function getVars(...$args) {
return Microfy::getVars(...$args);
}
}
if (!function_exists('postVars')) {
function postVars(...$args) {
return Microfy::postVars(...$args);
}
}
if (!function_exists('reqVars')) {
function reqVars(...$args) {
return Microfy::reqVars(...$args);
}
}
if (!function_exists('getVarsWithPrefix')) {
function getVarsWithPrefix(...$args) {
return Microfy::getVarsWithPrefix(...$args);
}
}
if (!function_exists('loadInputs')) {
function loadInputs(...$args) {
return Microfy::loadInputs(...$args);
}
}
if (!function_exists('getAll')) {
function getAll(...$args) {
return Microfy::getAll(...$args);
}
}
if (!function_exists('postAll')) {
function postAll(...$args) {
return Microfy::postAll(...$args);
}
}
if (!function_exists('reqAll')) {
function reqAll(...$args) {
return Microfy::reqAll(...$args);
}
}
if (!function_exists('injectGlobals')) {
function injectGlobals(...$args) {
return Microfy::injectGlobals(...$args);
}
}
if (!function_exists('dbPdo')) {
function dbPdo(...$args) {
return Microfy::dbPdo(...$args);
}
}
if (!function_exists('dbAll')) {
function dbAll(...$args) {
return Microfy::dbAll(...$args);
}
}
if (!function_exists('dbInsert')) {
function dbInsert(...$args) {
return Microfy::dbInsert(...$args);
}
}
if (!function_exists('dbUpdate')) {
function dbUpdate(...$args) {
return Microfy::dbUpdate(...$args);
}
}if (!function_exists('dbDelete')) {
function dbDelete(...$args) {
return Microfy::dbDelete(...$args);
}
}
if (!function_exists('dbOne')) {
function dbOne(...$args) {
return Microfy::dbOne(...$args);
}
}
if (!function_exists('dbVal')) {
function dbVal(...$args) {
return Microfy::dbVal(...$args);
}
}
if (!function_exists('dbCount')) {
function dbCount(...$args) {
return Microfy::dbCount(...$args);
}
}
if (!function_exists('dbExec')) {
function dbExec(...$args) {
return Microfy::dbExec(...$args);
}
}
if (!function_exists('dbInsertId')) {
function dbInsertId(...$args) {
return Microfy::dbInsertId(...$args);
}
}
if (!function_exists('dbExists')) {
function dbExists(...$args) {
return Microfy::dbExists(...$args);
}
}
if (!function_exists('dbError')) {
function dbError(...$args) {
return Microfy::dbError(...$args);
}
}
if (!function_exists('dbMysqli')) {
function dbMysqli(...$args) {
return Microfy::dbMysqli(...$args);
}
}
if (!function_exists('pp')) {
function pp(...$args) {
return Microfy::pp(...$args);
}
}
if (!function_exists('ppd')) {
function ppd(...$args) {
return Microfy::ppd(...$args);
}
}
if (!function_exists('mpp')) {
function mpp(...$args) {
return Microfy::mpp(...$args);
}
}
if (!function_exists('mppd')) {
function mppd(...$args) {
return Microfy::mppd(...$args);
}
}
if (!function_exists('ppr')) {
function ppr(...$args) {
return Microfy::ppr(...$args);
}
}
if (!function_exists('pper')) {
function pper(...$args) {
return Microfy::pper(...$args);
}
}
if (!function_exists('pd')) {
function pd(...$args) {
return Microfy::pd(...$args);
}
}
if (!function_exists('pdd')) {
function pdd(...$args) {
return Microfy::pdd(...$args);
}
}
if (!function_exists('pdr')) {
function pdr(...$args) {
return Microfy::pdr(...$args);
}
}
if (!function_exists('d')) {
function d(...$args) {
return Microfy::d(...$args);
}
}
if (!function_exists('dd')) {
function dd(...$args) {
return Microfy::dd(...$args);
}
}
if (!function_exists('mlog')) {
function mlog(...$args) {
return Microfy::mlog(...$args);
}
}
if (!function_exists('logPr')) {
function logPr(...$args) {
return Microfy::logPr(...$args);
}
}
if (!function_exists('logVd')) {
function logVd(...$args) {
return Microfy::logVd(...$args);
}
}
if (!function_exists('debugSession')) {
function debugSession(...$args) {
return Microfy::debugSession(...$args);
}
}
if (!function_exists('env')) {
function env(...$args) {
return Microfy::env(...$args);
}
}
if (!function_exists('jsonf')) {
function jsonf(...$args) {
return Microfy::jsonf(...$args);
}
}
if (!function_exists('a')) {
function a(...$args) {
return Microfy::a(...$args);
}
}
if (!function_exists('htmlTableSafe')) {
function htmlTableSafe(...$args) {
return Microfy::htmlTableSafe(...$args);
}
}
if (!function_exists('htmlTable')) {
function htmlTable(...$args) {
return Microfy::htmlTable(...$args);
}
}
if (!function_exists('cList')) {
function cList(...$args) {
return Microfy::cList(...$args);
}
}
if (!function_exists('now')) {
function now(...$args) {
return Microfy::now(...$args);
}
}
if (!function_exists('load')) {
function load(...$args) {
return Microfy::load(...$args);
}
}
if (!function_exists('def')) {
function def(...$args) {
return Microfy::def(...$args);
}
}
if (!function_exists('hsc')) {
function hsc(...$args) {
return Microfy::hsc(...$args);
}
}
if (!function_exists('sendJson')) {
function sendJson(...$args) {
return Microfy::sendJson(...$args);
}
}
if (!function_exists('ok')) {
function ok(...$args) {
return Microfy::ok(...$args);
}
}
if (!function_exists('fail')) {
function fail(...$args) {
return Microfy::fail(...$args);
}
}
if (!function_exists('jsonArray')) {
function jsonArray(...$args) {
return Microfy::jsonArray(...$args);
}
}
if (!function_exists('jsonString')) {
function jsonString(...$args) {
return Microfy::jsonString(...$args);
}
}
if (!function_exists('slugify')) {
function slugify(...$args) {
return Microfy::slugify(...$args);
}
}
if (!function_exists('h')) {
function hx(...$args) {
return Microfy::hx(...$args);
}
}
if (!function_exists('b')) {
function b(...$args) {
return Microfy::b(...$args);
}
}
if (!function_exists('i')) {
function i(...$args) {
return Microfy::i(...$args);
}
}
if (!function_exists('bi')) {
function bi(...$args) {
return Microfy::bi(...$args);
}
}
if (!function_exists('small')) {
function small(...$args) {
return Microfy::small(...$args);
}
}
if (!function_exists('mark')) {
function mark(...$args) {
return Microfy::mark(...$args);
}
}
if (!function_exists('p')) {
function p(...$args) {
return Microfy::p(...$args);
}
}
if (!function_exists('span')) {
function span(...$args) {
return Microfy::span(...$args);
}
}
if (!function_exists('div')) {
function div(...$args) {
return Microfy::div(...$args);
}
}
if (!function_exists('section')) {
function section(...$args) {
return Microfy::section(...$args);
}
}
if (!function_exists('buildAttr')) {
function buildAttr(...$args) {
return Microfy::buildAttr(...$args);
}
}
if (!function_exists('code')) {
function code(...$args) {
return Microfy::code(...$args);
}
}
if (!function_exists('codejs')) {
function codejs(...$args) {
return Microfy::codejs(...$args);
}
}
if (!function_exists('codephp')) {
function codephp(...$args) {
return Microfy::codephp(...$args);
}
}
if (!function_exists('codejson')) {
function codejson(...$args) {
return Microfy::codejson(...$args);
}
}
if (!function_exists('codehtml')) {
function codehtml(...$args) {
return Microfy::codehtml(...$args);
}
}
if (!function_exists('codesql')) {
function codesql(...$args) {
return Microfy::codesql(...$args);
}
}
if (!function_exists('codebash')) {
function codebash(...$args) {
return Microfy::codebash(...$args);
}
}
if (!function_exists('codec')) {
function codec(...$args) {
return Microfy::codec(...$args);
}
}
if (!function_exists('ul')) {
function ul(...$args) {
return Microfy::ul(...$args);
}
}
if (!function_exists('ulOpen')) {
function ulOpen(...$args) {
return Microfy::ulOpen(...$args);
}
}
if (!function_exists('ulClose')) {
function ulClose(...$args) {
return Microfy::ulClose(...$args);
}
}
if (!function_exists('li')) {
function li(...$args) {
return Microfy::li(...$args);
}
}
if (!function_exists('br')) {
function br(...$args) {
return Microfy::br(...$args);
}
}
if (!function_exists('bra')) {
function bra(...$args) {
return Microfy::bra(...$args);
}
}
if (!function_exists('hr')) {
function hr(...$args) {
return Microfy::hr(...$args);
}
}
if (!function_exists('hra')) {
function hra(...$args) {
return Microfy::hra(...$args);
}
}
if (!function_exists('c')) {
function c(...$args) {
return Microfy::c(...$args);
}
}
if (!function_exists('cStr')) {
function cStr(...$args) {
return Microfy::cStr(...$args);
}
}
if (!function_exists('tag')) {
function tag(...$args) {
return Microfy::tag(...$args);
}
}
if (!function_exists('html_tag')) {
function html_tag(...$args) {
return Microfy::html_tag(...$args);
}
}
if (!function_exists('html_html')) {
function html_html(...$args) {
return Microfy::html_html(...$args);
}
}
if (!function_exists('html_head')) {
function html_head(...$args) {
return Microfy::html_head(...$args);
}
}
if (!function_exists('html_body')) {
function html_body(...$args) {
return Microfy::html_body(...$args);
}
}
if (!function_exists('html_header')) {
function html_header(...$args) {
return Microfy::html_header(...$args);
}
}
if (!function_exists('html_footer')) {
function html_footer(...$args) {
return Microfy::html_footer(...$args);
}
}
if (!function_exists('html_section')) {
function html_section(...$args) {
return Microfy::html_section(...$args);
}
}
if (!function_exists('html_article')) {
function html_article(...$args) {
return Microfy::html_article(...$args);
}
}
if (!function_exists('html_nav')) {
function html_nav(...$args) {
return Microfy::html_nav(...$args);
}
}
if (!function_exists('html_aside')) {
function html_aside(...$args) {
return Microfy::html_aside(...$args);
}
}
if (!function_exists('html_div')) {
function html_div(...$args) {
return Microfy::html_div(...$args);
}
}
if (!function_exists('html_span')) {
function html_span(...$args) {
return Microfy::html_span(...$args);
}
}
if (!function_exists('html_h1')) {
function html_h1(...$args) {
return Microfy::html_h1(...$args);
}
}
if (!function_exists('html_h2')) {
function html_h2(...$args) {
return Microfy::html_h2(...$args);
}
}
if (!function_exists('html_h3')) {
function html_h3(...$args) {
return Microfy::html_h3(...$args);
}
}
if (!function_exists('html_h4')) {
function html_h4(...$args) {
return Microfy::html_h4(...$args);
}
}
if (!function_exists('html_h5')) {
function html_h5(...$args) {
return Microfy::html_h5(...$args);
}
}
if (!function_exists('html_h6')) {
function html_h6(...$args) {
return Microfy::html_h6(...$args);
}
}
if (!function_exists('html_p')) {
function html_p(...$args) {
return Microfy::html_p(...$args);
}
}
if (!function_exists('html_blockquote')) {
function html_blockquote(...$args) {
return Microfy::html_blockquote(...$args);
}
}
if (!function_exists('html_pre')) {
function html_pre(...$args) {
return Microfy::html_pre(...$args);
}
}
if (!function_exists('html_code')) {
function html_code(...$args) {
return Microfy::html_code(...$args);
}
}
if (!function_exists('html_ul')) {
function html_ul(...$args) {
return Microfy::html_ul(...$args);
}
}
if (!function_exists('html_ol')) {
function html_ol(...$args) {
return Microfy::html_ol(...$args);
}
}
if (!function_exists('html_li')) {
function html_li(...$args) {
return Microfy::html_li(...$args);
}
}
if (!function_exists('html_dl')) {
function html_dl(...$args) {
return Microfy::html_dl(...$args);
}
}
if (!function_exists('html_table')) {
function html_table(...$args) {
return Microfy::html_table(...$args);
}
}
if (!function_exists('html_thead')) {
function html_thead(...$args) {
return Microfy::html_thead(...$args);
}
}
if (!function_exists('html_tbody')) {
function html_tbody(...$args) {
return Microfy::html_tbody(...$args);
}
}
if (!function_exists('html_tr')) {
function html_tr(...$args) {
return Microfy::html_tr(...$args);
}
}
if (!function_exists('html_th')) {
function html_th(...$args) {
return Microfy::html_th(...$args);
}
}
if (!function_exists('html_td')) {
function html_td(...$args) {
return Microfy::html_td(...$args);
}
}
if (!function_exists('html_form')) {
function html_form(...$args) {
return Microfy::html_form(...$args);
}
}
if (!function_exists('html_label')) {
function html_label(...$args) {
return Microfy::html_label(...$args);
}
}
if (!function_exists('html_input')) {
function html_input(...$args) {
return Microfy::html_input(...$args);
}
}
if (!function_exists('html_textarea')) {
function html_textarea(...$args) {
return Microfy::html_textarea(...$args);
}
}
if (!function_exists('html_select')) {
function html_select(...$args) {
return Microfy::html_select(...$args);
}
}
if (!function_exists('html_button')) {
function html_button(...$args) {
return Microfy::html_button(...$args);
}
}
if (!function_exists('html_br')) {
function html_br(...$args) {
return Microfy::html_br(...$args);
}
}
if (!function_exists('html_hr')) {
function html_hr(...$args) {
return Microfy::html_hr(...$args);
}
}
if (!function_exists('html_img')) {
function html_img(...$args) {
return Microfy::html_img(...$args);
}
}
if (!function_exists('html_meta')) {
function html_meta(...$args) {
return Microfy::html_meta(...$args);
}
}
if (!function_exists('html_link')) {
function html_link(...$args) {
return Microfy::html_link(...$args);
}
}
if (!function_exists('html_script')) {
function html_script(...$args) {
return Microfy::html_script(...$args);
}
}
if (!function_exists('html_style')) {
function html_style(...$args) {
return Microfy::html_style(...$args);
}
}
if (!function_exists('pretty_html')) {
function pretty_html(...$args) {
return Microfy::pretty_html(...$args);
}
}