「登録」を行うCMSmadesimpleのモジュールがあります。登録は、id user と registerstatus を持つ php のクラスです。
すべてのユーザー (登録しているユーザーだけでなく) と、ユーザーが登録されているかどうかを要約するにはどうすればよいですか。
クラス (nb_persons は登録ステータスとして使用されます)
class EventsManager_registration
{
protected $table = 'events_registrations';
protected $custom_fields = array(
'id_event'=>'',
'id_user'=>'',
'nb_persons'=>0,
'dr_reden'=>''
);
from=$registrations item='registration' のイベントを要約する方法は知っていますが、ユーザーの登録の有無を要約したい