ICanBoogie
  • Documentation
  • API Reference
  • Operation 2.2.x
Namespaces
  • ICanBoogie
    • Operation
      • OperationDispatcher
Classes
  • BeforeControlEvent
  • BeforeProcessEvent
  • BeforeValidateEvent
  • ControlEvent
  • FailureEvent
  • GetFormEvent
  • Hooks
  • OperationDispatcher
  • PingOperation
  • ProcessEvent
  • RescueEvent
  • Response
  • ValidateEvent
Interfaces
  • Exception
Traits
  • ControlEventTrait
  • ValidateEventTrait
Exceptions
  • Failure
  • FormHasExpired
  • FormNotFound

Class PingOperation

Keeps the user's session alive.

Only already created sessions are kept alive, new sessions will not be created.

ICanBoogie\Prototyped
┗ ICanBoogie\Operation
┗ ICanBoogie\Operation\PingOperation
Namespace: ICanBoogie\Operation
Located at PingOperation.php

Methods summary

protected validate( ICanBoogie\Errors $errors ) : boolean

Validates the operation before processing.

Validates the operation before processing.

The method is abstract and therefore must be implemented by subclasses.

Parameters

$errors

Returns

boolean
protected process( void ) : mixed

Processes the operation.

Processes the operation.

The method is abstract and therefore must be implemented by subclasses.

Returns

mixed
According to the implementation.

Methods inherited from ICanBoogie\Operation

__construct(), __invoke(), control(), control_authentication(), control_form(), control_method(), control_ownership(), control_permission(), control_record(), control_session_token(), encode(), format(), format_class_name(), from(), from_module_request(), from_request(), from_route(), get_controls(), get_is_forwarded(), get_module(), get_request(), get_response(), lazy_get_form(), lazy_get_properties(), lazy_get_record(), reset()

Constants summary

Constants inherited from ICanBoogie\Operation

CONTROL_AUTHENTICATION, CONTROL_FORM, CONTROL_METHOD, CONTROL_OWNERSHIP, CONTROL_PERMISSION, CONTROL_RECORD, CONTROL_SESSION_TOKEN, DESTINATION, KEY, NAME, RESTFUL_BASE, RESTFUL_BASE_LENGTH, SESSION_TOKEN

Properties summary

Properties inherited from ICanBoogie\Operation

$destination, $form, $format, $key, $method, $module, $properties, $request, $response

Magic properties inherited from ICanBoogie\Operation

$app, $controls, $is_forwarded, $module, $record, $request

Operation 2.2.x – Check on GitHub – API documentation generated by ApiGen