TwistPHP Documentation

SyntaxHighlight

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

Type: Model

SyntaxHighlight — {data:class-info/description}

Example Usage

<?php
//Set the variables for the example
$strCode 'foo';
$strOutputType 'foo';
$intFocusLineNo 124;
$intFocusRange 124;

//Call the function processCode with the example vars
\Twist\Core\Models\String\SyntaxHighlight::processCode($strCode$strOutputType$intFocusLineNo$intFocusRange);

Method List

Method Access Returns
filestaticvoid
codestaticvoid
processCodestaticvoid
explodeLinesstaticvoid
convertStylesstaticvoid