Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tomas/public_html/wp-content/plugins/ninja-forms/includes/Contracts/ |
Upload File : |
<?php namespace NinjaForms\Includes\Contracts; use NinjaForms\Includes\Entities\SingleSubmission; /** * Contract to perform actions on a Single Submission * * Used on the Submissions Page, these handlers provide a standard means for * registering additional actions to be performed on a single submission. For * example, PDF Submissions would register a handler that receives the * submission and export a PDF */ interface SubmissionHandler{ /** * Return an identifying slug for the handler * @return string */ public function getSlug( ): string; /** * Return a label for the handler * @return string */ public function getLabel( ): string; /** * Return class name of SubmissionHandler * @return string */ public function getHandlerClassName( ): string; /** * Perform action on a single submission * * @param SingleSubmission $singleSubmission * @return void */ public function handle(SingleSubmission $singleSubmission): array; /** * Returns downloadable * * @return string */ public function getDownload( ): string; }