Silla.IO API
  • Namespace
  • Class
  • Tree
  • Todo
  • Download

Namespaces

  • App
    • Controllers
  • CMS
    • Controllers
    • Helpers
    • Models
  • Configurations
    • CI
    • Development
    • Production
    • Staging
  • Core
    • Base
    • CLI
      • Cache
      • DB
    • Helpers
    • Modules
      • Cache
        • Adapters
        • Interfaces
      • Crypt
      • DB
        • Adapters
        • Decorators
          • Interfaces
        • Features
          • Paginator
        • Interfaces
      • Registry
      • Render
        • Adapters
        • Interfaces
      • Router
      • Session
        • Adapters
        • Interfaces
  • None
  • Tasks
    • DB

Classes

  • Captcha
  • CMSUsers
  • DataTables
  • Export
  • FlashMessage
  • Ownership
  • PDF

Class FlashMessage

Flash Message Helper Class definition.

Namespace: CMS\Helpers
Used by: Core\Base\Entity::delete()
Located at helpers/flashmessage.php

Methods summary

private static array
# fetch( )

Fetches the flash message and caches it into the static property $message.

Fetches the flash message and caches it into the static property $message.

Returns

array

Uses

Core\Session()

Used by

CMS\Helpers\FlashMessage::get() To fetch the flash message from the user session.
public static string
# get( )

Returns flash message data.

Returns flash message data.

Returns

string

Uses

CMS\Helpers\FlashMessage::fetch()
To fetch the flash message from the user session.
public static
# set( string $message, string $context = 'default', array $additional = array() )

Save a message in the session array.

Save a message in the session array.

Parameters

$message
Message string.
$context
Context(optional).
$additional
Additional info string(optional).

Uses

Core\Session()

Properties summary

private static array $message

Flash message container.

Flash message container.

# null
Silla.IO API API documentation generated by ApiGen