Ubiquity  2.0.0
php rapid development framework
CheckTrait Class Reference
+ Inheritance diagram for CheckTrait:

Public Member Functions

 _isModelsCompleted ()
 
 _getAdminFiles ()
 
 createModels ($singleTable=null)
 

Data Fields

 info => [ ] ]
 

Protected Member Functions

 getModelSteps ()
 
 getActiveModelStep ()
 
 getNextModelStep ()
 
 displayModelsMessages ($type, $messagesToDisplay)
 
 showSimpleMessage ($content, $type, $icon="info", $timeout=NULL, $staticName=null)
 
 _checkStep ($niveau=null)
 
 _modelCheckOneNiveau ($name)
 
 checkDatabase ($config, $infoIcon="database")
 
 checkModels ($config, $infoIcon="sticky note")
 
 checkModelsCache ($config, $infoIcon="lightning")
 
 checkArrayCache ($config, $infoIcon="lightning")
 
 checkModelsCacheFiles ($config, $infoIcon="lightning")
 
 displayAllMessages ()
 
 showActions ()
 
 missingKeyInConfigMessage ($message, $keys)
 
 _addErrorMessage ($type, $content)
 
 _addInfoMessage ($type, $content)
 
 _addMessage ($key, $type, $content)
 
 hasError ()
 
 hasNoError ()
 
 hasMessages ()
 
 displayMessages ($type, $messagesToDisplay, $header="", $icon="")
 

Protected Attributes

 $messages =[ "error" => [ ]
 

Detailed Description

Definition at line 26 of file CheckTrait.php.

Member Function Documentation

◆ _addErrorMessage()

_addErrorMessage (   $type,
  $content 
)
protected

Definition at line 271 of file CheckTrait.php.

◆ _addInfoMessage()

_addInfoMessage (   $type,
  $content 
)
protected

Definition at line 275 of file CheckTrait.php.

◆ _addMessage()

_addMessage (   $key,
  $type,
  $content 
)
protected

Definition at line 279 of file CheckTrait.php.

◆ _checkStep()

_checkStep (   $niveau = null)
protected

Definition at line 59 of file CheckTrait.php.

◆ _getAdminFiles()

_getAdminFiles ( )
abstract

◆ _isModelsCompleted()

_isModelsCompleted ( )
abstract

◆ _modelCheckOneNiveau()

_modelCheckOneNiveau (   $name)
protected

Definition at line 75 of file CheckTrait.php.

◆ checkArrayCache()

checkArrayCache (   $config,
  $infoIcon = "lightning" 
)
protected

Definition at line 157 of file CheckTrait.php.

◆ checkDatabase()

checkDatabase (   $config,
  $infoIcon = "database" 
)
protected

Definition at line 96 of file CheckTrait.php.

◆ checkModels()

checkModels (   $config,
  $infoIcon = "sticky note" 
)
protected

Definition at line 114 of file CheckTrait.php.

◆ checkModelsCache()

checkModelsCache (   $config,
  $infoIcon = "lightning" 
)
protected

Definition at line 143 of file CheckTrait.php.

◆ checkModelsCacheFiles()

checkModelsCacheFiles (   $config,
  $infoIcon = "lightning" 
)
protected

Definition at line 183 of file CheckTrait.php.

◆ createModels()

createModels (   $singleTable = null)

Definition at line 47 of file CheckTrait.php.

◆ displayAllMessages()

displayAllMessages ( )
protected

Definition at line 196 of file CheckTrait.php.

◆ displayMessages()

displayMessages (   $type,
  $messagesToDisplay,
  $header = "",
  $icon = "" 
)
protected

Definition at line 295 of file CheckTrait.php.

◆ displayModelsMessages()

displayModelsMessages (   $type,
  $messagesToDisplay 
)
abstractprotected

◆ getActiveModelStep()

getActiveModelStep ( )
abstractprotected

◆ getModelSteps()

getModelSteps ( )
abstractprotected

◆ getNextModelStep()

getNextModelStep ( )
abstractprotected

◆ hasError()

hasError ( )
protected

Definition at line 283 of file CheckTrait.php.

◆ hasMessages()

hasMessages ( )
protected

Definition at line 291 of file CheckTrait.php.

◆ hasNoError()

hasNoError ( )
protected

Definition at line 287 of file CheckTrait.php.

◆ missingKeyInConfigMessage()

missingKeyInConfigMessage (   $message,
  $keys 
)
protected

Definition at line 263 of file CheckTrait.php.

◆ showActions()

showActions ( )
protected

Definition at line 211 of file CheckTrait.php.

◆ showSimpleMessage()

showSimpleMessage (   $content,
  $type,
  $icon = "info",
  $timeout = NULL,
  $staticName = null 
)
abstractprotected

Field Documentation

◆ $messages

$messages =[ "error" => [ ]
protected

Definition at line 27 of file CheckTrait.php.

◆ info

info => [ ] ]

Definition at line 27 of file CheckTrait.php.


The documentation for this class was generated from the following file: