Skip to content

Обработка событий сторонних сущностей в d7 #1

Description

@mmjurov

Хорошо бы придумать какой-то удобный встраиваемый механизм, который позволит подписываться на подобные события

$eventManager = Main\EventManager::getInstance();
$eventManager->addEventHandler(
    "main",
    "\SomePartner\MyBooksCatalog\Book::OnBeforeUpdate",
    ['Handler', 'Callable']
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions