mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-10 00:29:27 +00:00
29 lines
578 B
PHP
29 lines
578 B
PHP
<?php
|
|
|
|
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class Phrasen extends FHCAPI_Controller
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct([
|
|
'loadModule' => self::PERM_ANONYMOUS
|
|
]);
|
|
}
|
|
|
|
//------------------------------------------------------------------------------------------------------------------
|
|
// Public methods
|
|
|
|
/**
|
|
* @param string $module
|
|
*/
|
|
public function loadModule($module)
|
|
{
|
|
$this->load->library('PhrasesLib', [$module], 'pj');
|
|
$this->terminateWithSuccess(json_decode($this->pj->getJSON()));
|
|
}
|
|
}
|