PHP Class App\Listeners\ActivityListener

Afficher le fichier Open project: hillelcoren/invoice-ninja

Protected Properties

Свойство Type Description
$activityRepo App\Ninja\Repositories\ActivityRepository

Méthodes publiques

Méthode Description
__construct ( ActivityRepository $activityRepo ) ActivityListener constructor.
approvedQuote ( QuoteInvitationWasApproved $event )
archivedClient ( ClientWasArchived $event )
archivedCredit ( CreditWasArchived $event )
archivedExpense ( ExpenseWasArchived $event )
archivedInvoice ( InvoiceWasArchived $event )
archivedPayment ( PaymentWasArchived $event )
archivedQuote ( QuoteWasArchived $event )
archivedTask ( TaskWasArchived $event )
createdClient ( ClientWasCreated $event )
createdCredit ( App\Events\CreditWasCreated $event )
createdExpense ( ExpenseWasCreated $event )
createdInvoice ( InvoiceWasCreated $event )
createdPayment ( PaymentWasCreated $event )
createdQuote ( QuoteWasCreated $event )
createdTask ( TaskWasCreated $event ) Creates an activity when a task was created
deletedClient ( ClientWasDeleted $event )
deletedCredit ( CreditWasDeleted $event )
deletedExpense ( ExpenseWasDeleted $event )
deletedInvoice ( InvoiceWasDeleted $event )
deletedPayment ( PaymentWasDeleted $event )
deletedQuote ( QuoteWasDeleted $event )
deletedTask ( TaskWasDeleted $event )
emailedInvoice ( InvoiceInvitationWasEmailed $event )
emailedQuote ( QuoteInvitationWasEmailed $event )
failedPayment ( PaymentFailed $event )
refundedPayment ( PaymentWasRefunded $event )
restoredClient ( ClientWasRestored $event )
restoredCredit ( CreditWasRestored $event )
restoredExpense ( ExpenseWasRestored $event )
restoredInvoice ( InvoiceWasRestored $event )
restoredPayment ( PaymentWasRestored $event )
restoredQuote ( QuoteWasRestored $event )
restoredTask ( TaskWasRestored $event )
updatedExpense ( ExpenseWasUpdated $event )
updatedInvoice ( InvoiceWasUpdated $event )
updatedQuote ( QuoteWasUpdated $event )
updatedTask ( TaskWasUpdated $event ) Creates an activity when a task was updated
viewedInvoice ( InvoiceInvitationWasViewed $event )
viewedQuote ( QuoteInvitationWasViewed $event )
voidedPayment ( PaymentWasVoided $event )

Method Details

__construct() public méthode

ActivityListener constructor.
public __construct ( ActivityRepository $activityRepo )
$activityRepo App\Ninja\Repositories\ActivityRepository

approvedQuote() public méthode

public approvedQuote ( QuoteInvitationWasApproved $event )
$event App\Events\QuoteInvitationWasApproved

archivedClient() public méthode

public archivedClient ( ClientWasArchived $event )
$event App\Events\ClientWasArchived

archivedCredit() public méthode

public archivedCredit ( CreditWasArchived $event )
$event App\Events\CreditWasArchived

archivedExpense() public méthode

public archivedExpense ( ExpenseWasArchived $event )
$event App\Events\ExpenseWasArchived

archivedInvoice() public méthode

public archivedInvoice ( InvoiceWasArchived $event )
$event App\Events\InvoiceWasArchived

archivedPayment() public méthode

public archivedPayment ( PaymentWasArchived $event )
$event App\Events\PaymentWasArchived

archivedQuote() public méthode

public archivedQuote ( QuoteWasArchived $event )
$event App\Events\QuoteWasArchived

archivedTask() public méthode

public archivedTask ( TaskWasArchived $event )
$event App\Events\TaskWasArchived

createdClient() public méthode

public createdClient ( ClientWasCreated $event )
$event App\Events\ClientWasCreated

createdCredit() public méthode

public createdCredit ( App\Events\CreditWasCreated $event )
$event App\Events\CreditWasCreated

createdExpense() public méthode

public createdExpense ( ExpenseWasCreated $event )
$event App\Events\ExpenseWasCreated

createdInvoice() public méthode

public createdInvoice ( InvoiceWasCreated $event )
$event App\Events\InvoiceWasCreated

createdPayment() public méthode

public createdPayment ( PaymentWasCreated $event )
$event App\Events\PaymentWasCreated

createdQuote() public méthode

public createdQuote ( QuoteWasCreated $event )
$event App\Events\QuoteWasCreated

createdTask() public méthode

Creates an activity when a task was created
public createdTask ( TaskWasCreated $event )
$event App\Events\TaskWasCreated

deletedClient() public méthode

public deletedClient ( ClientWasDeleted $event )
$event App\Events\ClientWasDeleted

deletedCredit() public méthode

public deletedCredit ( CreditWasDeleted $event )
$event App\Events\CreditWasDeleted

deletedExpense() public méthode

public deletedExpense ( ExpenseWasDeleted $event )
$event App\Events\ExpenseWasDeleted

deletedInvoice() public méthode

public deletedInvoice ( InvoiceWasDeleted $event )
$event App\Events\InvoiceWasDeleted

deletedPayment() public méthode

public deletedPayment ( PaymentWasDeleted $event )
$event App\Events\PaymentWasDeleted

deletedQuote() public méthode

public deletedQuote ( QuoteWasDeleted $event )
$event App\Events\QuoteWasDeleted

deletedTask() public méthode

public deletedTask ( TaskWasDeleted $event )
$event App\Events\TaskWasDeleted

emailedInvoice() public méthode

public emailedInvoice ( InvoiceInvitationWasEmailed $event )
$event App\Events\InvoiceInvitationWasEmailed

emailedQuote() public méthode

public emailedQuote ( QuoteInvitationWasEmailed $event )
$event App\Events\QuoteInvitationWasEmailed

failedPayment() public méthode

public failedPayment ( PaymentFailed $event )
$event App\Events\PaymentFailed

refundedPayment() public méthode

public refundedPayment ( PaymentWasRefunded $event )
$event App\Events\PaymentWasRefunded

restoredClient() public méthode

public restoredClient ( ClientWasRestored $event )
$event App\Events\ClientWasRestored

restoredCredit() public méthode

public restoredCredit ( CreditWasRestored $event )
$event App\Events\CreditWasRestored

restoredExpense() public méthode

public restoredExpense ( ExpenseWasRestored $event )
$event App\Events\ExpenseWasRestored

restoredInvoice() public méthode

public restoredInvoice ( InvoiceWasRestored $event )
$event App\Events\InvoiceWasRestored

restoredPayment() public méthode

public restoredPayment ( PaymentWasRestored $event )
$event App\Events\PaymentWasRestored

restoredQuote() public méthode

public restoredQuote ( QuoteWasRestored $event )
$event App\Events\QuoteWasRestored

restoredTask() public méthode

public restoredTask ( TaskWasRestored $event )
$event App\Events\TaskWasRestored

updatedExpense() public méthode

public updatedExpense ( ExpenseWasUpdated $event )
$event App\Events\ExpenseWasUpdated

updatedInvoice() public méthode

public updatedInvoice ( InvoiceWasUpdated $event )
$event App\Events\InvoiceWasUpdated

updatedQuote() public méthode

public updatedQuote ( QuoteWasUpdated $event )
$event App\Events\QuoteWasUpdated

updatedTask() public méthode

Creates an activity when a task was updated
public updatedTask ( TaskWasUpdated $event )
$event App\Events\TaskWasUpdated

viewedInvoice() public méthode

public viewedInvoice ( InvoiceInvitationWasViewed $event )
$event App\Events\InvoiceInvitationWasViewed

viewedQuote() public méthode

public viewedQuote ( QuoteInvitationWasViewed $event )
$event App\Events\QuoteInvitationWasViewed

voidedPayment() public méthode

public voidedPayment ( PaymentWasVoided $event )
$event App\Events\PaymentWasVoided

Property Details

$activityRepo protected_oe property

protected ActivityRepository,App\Ninja\Repositories $activityRepo
Résultat App\Ninja\Repositories\ActivityRepository