Class exUrl1
- Url1
-
exUrl1
Located at config/ex1.php
public static
mixed
|
#
request( array $insertOrReplaceKeyValue = [], array $filterCheckBoxNameList = [], array $filterFileUploadNameList = [] )
Get any sent request like $_GET, $_POST and $_FILES... Also all value are being normalized. Checkbox value are set to either true of false, and files are well arrange, in Parameter, Set the Names |
public static
|
|
public static
ArrayObject|mixed
|
|
public static
string
|
|
public static
string
|
#
redirectToView( $viewPageName, array $param = [], boolean $actionResult = false, array $trueMessage = [], array $falseMessage = [] )
|
public static
Route|RouteSystem|string
|
|
public static
RouteRequest
|
|
public static
mixed|string
|
|
public static
|
|
public static
|
|
public static
string
|
|
public static
string
|
#
registerPathForLayoutAsset( $optional_layoutViewPath_or_layoutFullPath = null, $backtrace_index = 0 )
Add to Every Template to Register Template/assets folder for layout_assets(...) method use. |
public static
string
|
#
layoutAsset( string $filename = '', null $layout_name = null, string $assets_folder_name = 'assets' )
Locate Layout assets path automatically with the help of passed in exUrl1::registerPathForLayoutAsset() |
public static
mixed
|
#
currentLayoutAsset( string $file_path_name = '', string $assets_folder_name = 'assets' )
Use in your layout to get current location of layout assets |
public static
mixed
|
#
currentPluginAsset( string $file_path_name = '', string $assets_folder_name = 'assets' )
Use in your plugin to get current location of plugin assets |
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
array
|
|
public static
array
|
#
appClassList( array $typeList = [Model1::class, Controller1::class, Api1::class] )
get all list of class type in app |
public static
mixed
|
|
public static
mixed
|
#
convertUrlToPath( $url )
convert URL: http://mysite.com/image.jpg to PATH: /application/htdoc/project/image.jpg |