model naming rules
{$app_id}_mdl_{$mod_path}
For example:
model: b2c_mdl_cart_objects
$app_id = b2c
$mod_path = cart/objects.php
model storage location
app/{$app_id}/model/{mod_path}/
For example:
b2c_mdl_cart_objects
Storage location: app/b2c/model/cart/objects.php
Create your own model
<code><span><span><?php</span><span><span>class</span><span>base_mdl_apps</span><span>extends</span><span>base_db_model</span>{</span> ... }</span></code>
The above has introduced the Ecos model, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.