Actions

API16

JStringController/getRef

From Joomla! Documentation

< API16:JStringController
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton]

Description:JStringController/getRef

Contents

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;
        }
}

[Edit See Also] SeeAlso:JStringController/getRef

Examples

<CodeExamplesForm />