API16

JStringController/getRef

< API16:JStringController

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Syntax

getRef($reference)
Parameter Name Default Value Description
$reference

Defined in

libraries/joomla/filesystem/support/stringcontroller.php

Importing

jimport( 'joomla.filesystem.support.stringcontroller' );

Source Body

function getRef($reference) {
        $ref =& JStringController::_getArray();
        if(isset($ref[$reference])) {
                return $ref[$reference];
        } else {
                return false;
        }
}



Examples

Code Examples


Advertisement