Commit Graph
991 Commits
Author SHA1 Message Date
Lufei 3970bc226d * Fix install and upgrade locate error. 2022-11-01 19:22:40 +08:00
Lufei ac363b3df7 * Fix install error. 2022-11-01 15:44:49 +08:00
wangyidong 4f824f9410 * code for task #73994. 2022-11-01 15:02:20 +08:00
Yagami 68665d5ed0 * Finish task #74207. 2022-11-01 14:57:52 +08:00
liugang 540cd0e3c5 * Rename model to target. 2022-11-01 09:59:32 +08:00
liugang 8220ce7025 * Load tao class in the model class and its subclasses. 2022-11-01 09:47:09 +08:00
liugang 9b6e282725 * Load zen class in the control class and its subclasses. 2022-11-01 09:45:25 +08:00
Lufei 031838a6ce * Fix loadModel for entry. 2022-10-31 16:36:52 +08:00
鲁飞 b1cb5a798e * Fix bug of unauthorized users. 2022-10-28 08:16:50 +00:00
wangyidong 11e0ad5c0b * adjust for ztsession. 2022-10-28 09:38:40 +08:00
Guan Xiying c2e9f3dab2 * Add function to load target file. 2022-10-27 15:48:48 +08:00
wangyuting2 a1df161747 * Finish task #73818. 2022-10-27 06:45:09 +00:00
wangyuting2 5467991e67 * Finish task #73814. 2022-10-27 06:10:54 +00:00
wangyidong 148d3d6d6b Merge branch 'master' into zentaopms_239 2022-10-27 11:39:47 +08:00
wangyuting2 f8f329ec94 * Finish task #73470. 2022-10-26 07:01:57 +00:00
Guan Xiying 3848e7312d * Use $this->moduleName instead of $moduleName for it might be empty
sometimes.
2022-10-26 14:00:12 +08:00
Guan Xiying 3c46850e0e * Return false when the target object is empty to avoid assigning
property to a null object.
2022-10-26 13:58:18 +08:00
Guan Xiying a3da6393be * Don't need load config and lang when load the zen object. 2022-10-26 13:57:38 +08:00
Guan Xiying 9b7ccef034 * Optimize the comment. 2022-10-26 13:56:11 +08:00
Guan Xiying c220eda19e * Extend the loadTao function to be compatible with the codes merged
from ZDOO.
2022-10-26 11:21:06 +08:00
Guan Xiying ec23b692df * Extend the loadZen function to be compatible with the codes merged
from ZDOO.
2022-10-26 11:19:50 +08:00
Guan Xiying 646e61e3db * Revert the loadModel function. 2022-10-26 11:07:19 +08:00
Guan Xiying 59ff8af5e6 * Add the loadTao function to load the tao object of a module. 2022-10-26 11:05:37 +08:00
Guan Xiying 08ce854f41 * Call the loadTarget function to load the model object of a module. 2022-10-26 11:00:49 +08:00
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