TraitUploadHelper
Table of Contents
Properties
- $cache : mixed
Methods
- addCache() : self
- Set the value of cache
- addMultiUseCache() : mixed
- if something validated which and maybe need to recheck pass to this, and check this with a simple condition
- dateChecker() : mixed
- getAlreadyAdded() : mixed
- if a value already validated or used and not need to recheck
- getCache() : mixed
- Get the value of cache
- dateHasTime() : mixed
- getCacheName() : mixed
- getDateFromString() : mixed
Properties
$cache
public
mixed
$cache
= []
Methods
addCache()
Set the value of cache
public
addCache(mixed $name, mixed $value) : self
Parameters
- $name : mixed
- $value : mixed
Return values
selfaddMultiUseCache()
if something validated which and maybe need to recheck pass to this, and check this with a simple condition
public
addMultiUseCache(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
dateChecker()
public
dateChecker(mixed $key, mixed $row) : mixed
Parameters
- $key : mixed
- $row : mixed
getAlreadyAdded()
if a value already validated or used and not need to recheck
public
getAlreadyAdded(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
getCache()
Get the value of cache
public
getCache(mixed $name) : mixed
Parameters
- $name : mixed
dateHasTime()
private
dateHasTime(string $date) : mixed
Parameters
- $date : string
getCacheName()
private
getCacheName(string $modelName[, mixed $indexedTo = null ]) : mixed
Parameters
- $modelName : string
- $indexedTo : mixed = null
getDateFromString()
private
getDateFromString(string $value) : mixed
Parameters
- $value : string