Heratio Framework API Reference

StandaloneFeedbackWriteService
in package
implements FeedbackWriteServiceInterface

Standalone feedback write service using Laravel Query Builder only.

Clean implementation without Propel references or class_exists checks. Handles the AtoM entity inheritance chain: object -> feedback -> feedback_i18n

Table of Contents

Interfaces

FeedbackWriteServiceInterface
Contract for feedback write operations.

Methods

createFeedback()  : int
Create a new feedback record.

Methods

createFeedback()

Create a new feedback record.

public createFeedback(array<string|int, mixed> $data[, string $culture = 'en' ]) : int
Parameters
$data : array<string|int, mixed>

Feedback data including:

  • feed_name (string)
  • feed_surname (string)
  • feed_phone (string)
  • feed_email (string)
  • feed_relationship (string)
  • feed_type_id (int)
  • parent_id (string) unique identifier
  • object_id (int) information object ID
  • status_id (int)
  • name (string) i18n
  • remarks (string) i18n
$culture : string = 'en'

Culture code (e.g., 'en')

Return values
int

The new feedback ID


        
On this page

Search results