<?php
//=================================================================
// Lead Follow-Up Database
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : hide@address.com
// ID : LF201_107
//
// This software is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 of the
// License.
//
// [Installation Guide]
// http://www.phpkobo.com/doc.php?d=install&p=LF201_107
//
//=================================================================
//----------------------------------------------------------------
// cls_ps_followup
//----------------------------------------------------------------
class cls_ps_followup extends cls_ps_base
{
var $fs_name = 'lead';
//------------------------------------------------------------
// CommandProc
//------------------------------------------------------------
function CommandProc( &$sc )
{
//-- [BEGIN] Get default field set
$def =& $this->GetFieldList( $this->fs_name );
//-- [END] Get default field set
//-- [BEGIN] Read command
$cmd = $sc->Cmd();
//-- [END] Read command
switch( $cmd )
{
case "notify":
$obj =& new CNotifyFollowUp();
$obj->Run( $def );
$sc->status = SC_EXIT;
break;
//------------------------------------------------------
// Page Not Found
//------------------------------------------------------
default:
//-- [BEGIN] Unknown command
$sc->RaiseError( SC_ERR_PAGE_NOT_FOUND );
//-- [END] Unknown command
break;
}
}
}
//----------------------------------------------------------------
// END OF FILE
//----------------------------------------------------------------
?>