Инструменты пользователя

Инструменты сайта


limb3:en:architecture:lmb_command_processing_filter

lmbCommandProcessingFilter

lmbCommandProcessingFilter executes a lmbCommand according to the requested lmbService and Action.

class lmbCommandProcessingFilter implements lmbInterceptingFilter
{
  public function run($filter_chain)
  {
    $dispatched = lmbToolkit :: instance()->getDispatchedRequest();
    if(!is_object($dispatched))
      throw new lmbException('Request is not dispatched yet! lmbDispatchedRequest not found in lmbToolkit!');
 
    $command = $dispatched->getActionCommand();
    $command->perform();
 
    $filter_chain->next();
  }
}

UML Static structure

}

lmbDispatchedRequest

Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
  _      __   ___   _   __   __ __  _____
 | | /| / /  / _ \ | | / /  / // / / ___/
 | |/ |/ /  / , _/ | |/ /  / _  / / (_ / 
 |__/|__/  /_/|_|  |___/  /_//_/  \___/
 
limb3/en/architecture/lmb_command_processing_filter.txt · Последнее изменение: 2010/11/10 10:02 — 127.0.0.1