Files
FHC-Core/application/controllers/api/frontend/v1/Phrasen.php
T
2024-03-06 13:02:34 +01:00

28 lines
548 B
PHP

<?php
if (! defined('BASEPATH')) exit('No direct script access allowed');
/**
*
*/
class Phrasen extends FHC_Controller
{
//------------------------------------------------------------------------------------------------------------------
// Public methods
/**
* @param string $module
*/
public function loadModule($module)
{
$this->load->library('PhrasesLib', [$module], 'pj');
$this->outputJson([
'data' => json_decode($this->pj->getJSON()),
'meta' => [
'status' => FHCAPI_Controller::STATUS_SUCCESS
]
]);
}
}