Commit Graph
867 Commits
Author SHA1 Message Date
Guan Xiying 8c185e925c * Add function to load the zen object of a module. 2022-10-26 11:00:27 +08:00
Guan Xiying b47999a32e * Call the loadTarget function to load the model object of a module. 2022-10-26 10:59:44 +08:00
Guan Xiying 23f17a3812 * Add function to load the object of a class. 2022-10-26 10:57:27 +08:00
caoyanyi 1a68e5ac28 * Modify session error. 2022-10-26 09:56:45 +08:00
Guan Xiying a769caa8c5 * Get module name by preg_match. 2022-10-20 14:24:30 +08:00
Guan Xiying 5498c0872b * Cann't call the member variables of a class in the magic method. 2022-10-20 11:00:11 +08:00
Guan Xiying 86df3868fb * Refactor the magic method to support call static method. Only static
methods of classes declared in a zen file or an ext zen file or a tao
file or an ext tao file can be called.
2022-10-20 10:28:35 +08:00
Guan Xiying 1cbb4546fd * If the method is callable return its result else trigger error. 2022-10-20 10:25:46 +08:00
Guan Xiying 83cf9f8aa5 * Fix bug called a object by the loadModel function in another module. 2022-10-20 10:21:13 +08:00
Guan Xiying eb43521900 * Add the loadExtension function to load the extension of zen. 2022-10-20 10:18:48 +08:00
Guan Xiying dc874101da * Remove blank. 2022-10-19 17:16:51 +08:00
Guan Xiying c43f14c7b0 * Refactor to support load extensions of tao. 2022-10-19 16:48:04 +08:00
Guan Xiying d9883bd382 * Refactor to avoid errors when class names contain ext or model. 2022-10-19 16:45:18 +08:00
Guan Xiying 7d305bd7f7 * Refactor the loadModel function to support loading tao files and return tao object. 2022-10-19 16:43:49 +08:00
Guan Xiying 0ec0e38a29 * Refactor the loadModel function to support loading zen files and return zen object. 2022-10-19 16:40:58 +08:00
Guan Xiying 12ad262e1d * Rename the $taoClass to the $zenClass. 2022-10-19 16:40:22 +08:00
Guan Xiying f84694aa7c Simplify the codes to load the zen file by the loadModel function. 2022-10-19 16:39:54 +08:00
Guan Xiying 50c2fd653c * Simplify the codes to load the tao file by the loadModel function. 2022-10-19 16:36:22 +08:00
Guan Xiying 66d76e5d65 * Fix error if the zen file doesn't exist. 2022-10-19 10:15:59 +08:00
Guan Xiying b0be2cd295 * Remove useless variable. 2022-10-19 10:10:15 +08:00
Guan Xiying 01ac19f6e5 * Fix bug of load zen and tao. 2022-10-18 17:19:18 +08:00
Guan Xiying 8d961926a4 * Adjust the comments. 2022-10-18 16:45:52 +08:00
Guan Xiying b9b8b6e584 * Add functions to call the methods declared in the zen files and the tao files. 2022-10-18 16:32:26 +08:00
Guan Xiying 3008099976 * Load the zen file and the tao file. 2022-10-18 16:31:24 +08:00
Guan Xiying 8dce21799f * Optimize the codes of loadModel function. 2022-10-18 16:28:10 +08:00
Guan Xiying ca19766cbc * Refactor functions to support loading the zen files and the tao files. 2022-10-18 16:14:48 +08:00
Guan Xiying 3e953772b9 * Refactor codes to extend the export fields and the editor fields by workflow. 2022-10-18 16:01:56 +08:00
wangyidong 91ae21caec Merge branch 'master' into sprint/feedback_module 2022-10-11 09:33:25 +08:00
wangyidong 460c3d9fb1 * adjust for ztSessionHandler. 2022-10-09 10:41:14 +08:00
王 于听 59d85868b5 Merge branch 'sprint/zentaopms240_wangyuting' into 'sprint/zentaopms240'
* Fix bug in review code.

See merge request easycorp/zentaopms!5612
2022-09-29 05:51:04 +00:00
wangyuting2 d33cc87da9 * Fix bug in review code. 2022-09-29 05:50:16 +00:00
wangyidong 9c83ba7cae Merge branch 'sprint/zentaopms240' of https://gitlab.zcorp.cc/easycorp/zentaopms into sprint/zentaopms240 2022-09-29 09:50:49 +08:00
wangyidong 1e928ed625 * code for task #70541. 2022-09-29 09:50:11 +08:00
wangyidong a4ae767404 * adjust for ztSessionHandler. 2022-09-29 09:38:22 +08:00
daitingting 63f84968b7 * Finish task #70546. 2022-09-28 07:17:52 +00:00
wangyuting2 ef6a569f2e * Add disabledFeatures config. 2022-09-27 07:38:49 +00:00
wangyidong fd623cb0c4 * adjust for code ajax send. 2022-09-27 15:18:51 +08:00
daitingting f7d564e837 * Finish task #70200. 2022-09-26 09:38:11 +00:00
daitingting fe13c4de38 * Doing task #69253. 2022-09-16 01:02:13 +00:00
lanzongjun 2dbf74064c feedback module 2022-09-02 11:37:53 +08:00
wangyidong d859327126 * fix bug #26951. 2022-08-29 09:17:51 +08:00
wangyidong f18bba53af * adjust for ioncube php8.1. 2022-08-25 16:18:53 +08:00
liumengyi e1a022ba7f * Fix bug #26768. 2022-08-24 10:54:29 +08:00
wangyidong 1897a831dd * fix for php8.1 2022-08-22 17:00:23 +08:00
liumengyi a54d9168bb * Fix bug for task #64967. 2022-08-22 14:49:04 +08:00
liumengyi 67151d4595 * Fix bug for task #64967. 2022-08-22 14:43:18 +08:00
tianshujie 98694da2ae Merge branch 'master' of https://gitlab.zcorp.cc/easycorp/zentaopms into sprint/228_tianshujie_64967 2022-08-18 16:47:14 +08:00
tianshujie 24e39026cc * Finish task #64967. 2022-08-16 17:07:27 +08:00
liyuchun 6c2cacf02c Merge branch 'master' into zenops_41 2022-08-10 08:26:42 +00:00
wangyuting2 964e64efe1 * Finish task #63892. 2022-08-10 14:14:56 +08:00