TwistPHP Documentation

add

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

addRoute Meta Tag manager and template extension

Parameters

Name Type Description
$strTypestringn/a
$strNamestringn/a
$strValuestringn/a
[$intOrder = 10]integern/a

Return Values

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

Example

<?php
//Set the variables for the example
$strType 'foo';
$strName 'foo';
$strValue 'foo';
$intOrder 10;

//Call the function add with the example vars
$resMeta = new \Twist\Core\Models\Route\Meta();
$resMeta -> add($strType$strName$strValue$intOrder);