TwistPHP Documentation

route

File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
Extends:

routeLoad the interface that comes as part of a package

Parameters

Name Type Description
$strPackageRoutestringn/a
$strRegisteredURIstringn/a
$mxdBaseViewmixedn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strPackageRoute 'foo';
$strRegisteredURI 'foo';
$mxdBaseView 'foo-123';

//Call the function route with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> route($strPackageRoute$strRegisteredURI$mxdBaseView);