You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
481 B
PHP
23 lines
481 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: user
|
|
* Date: 1/16/17
|
|
* Time: 10:12 PM
|
|
*/
|
|
|
|
namespace Controllers\Category;
|
|
|
|
use BusinessLogic\Category\CategoryRetriever;
|
|
|
|
class CategoryController {
|
|
function get($i) {
|
|
print json_encode(intval($i));
|
|
}
|
|
|
|
static function getAllCategories($hesk_settings) {
|
|
require_once(__DIR__ . '/../businesslogic/category/CategoryRetriever.php');
|
|
|
|
return CategoryRetriever::get_all_categories($hesk_settings);
|
|
}
|
|
} |