我在 CMSmadesimple 中有一个模块,可以进行“注册”。注册是 php 中的一个类,id 为 user 和 registerstatus。
我如何总结所有用户(不仅仅是注册的用户)以及他们是否已注册。
类(nb_persons 用作注册状态)
class EventsManager_registration
{
protected $table = 'events_registrations';
protected $custom_fields = array(
'id_event'=>'',
'id_user'=>'',
'nb_persons'=>0,
'dr_reden'=>''
);
我知道如何总结事件 foreach from=$registrations item='registration' 但我想总结我的用户是否注册