TwistPHP Documentation

upload

File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

uploadRegister the upload server, this will automatically call the Twist Upload Controller unless an override has been specified

Parameters

Name Type Description
[$strURI = ']stringn/a
[$strControllerOverride = null]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strURI ';
$strControllerOverride = null;

//Call the function upload with the example vars
Twist::Route() -> upload($strURI, $strControllerOverride);