class/oledrion_utils.php 1 location
|
@@ 438-447 (lines=10) @@
|
435 |
|
* Returns the module's name (as defined by the user in the module manager) with cache |
436 |
|
* @return string Module's name |
437 |
|
*/ |
438 |
|
public static function getModuleName() |
439 |
|
{ |
440 |
|
static $moduleName; |
441 |
|
if (!isset($moduleName)) { |
442 |
|
$mymodule = static::_getModule(); |
443 |
|
$moduleName = $mymodule->getVar('name'); |
444 |
|
} |
445 |
|
|
446 |
|
return $moduleName; |
447 |
|
} |
448 |
|
|
449 |
|
/** |
450 |
|
* Create a title for the href tags inside html links |
class/utility.php 1 location
|
@@ 581-590 (lines=10) @@
|
578 |
|
* Returns the module's name (as defined by the user in the module manager) with cache |
579 |
|
* @return string Module's name |
580 |
|
*/ |
581 |
|
public static function getModuleName() |
582 |
|
{ |
583 |
|
static $moduleName; |
584 |
|
if (!isset($moduleName)) { |
585 |
|
$mymodule = static::_getModule(); |
586 |
|
$moduleName = $mymodule->getVar('name'); |
587 |
|
} |
588 |
|
|
589 |
|
return $moduleName; |
590 |
|
} |
591 |
|
|
592 |
|
/** |
593 |
|
* Create a title for the href tags inside html links |