Blesta Source Documentation

Contacts extends Handler uses Container

The Contacts event handler

Table of Contents

Methods

update() Reacts to a triggered event by performing an update
getFromContainer() Fetch an item from the container
clientsDelete() Performs the Clients.delete action
contactsDelete() Performs the Contacts.delete action
Methods

getFromContainer()

Fetch an item from the container

protected getFromContainer(string $service) : mixed
Parameters
$service : string

The name of the service from the container to fetch

Return values
mixed

The service if found, otherwise null

clientsDelete()

Performs the Clients.delete action

private clientsDelete(int $client_id) : mixed
Parameters
$client_id : int

The ID of the client to delete

contactsDelete()

Performs the Contacts.delete action

private contactsDelete(int $user_id) : mixed
Parameters
$user_id : int

The ID of the user to delete

Tags
subpackage

core.Util.Events.Handlers

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results