Exemple #1
0
 public static function getHeader()
 {
     $category = Common::getListArray('Category', ['id', 'name']);
     $setting = CommonSetting::getSettingMenu();
     $header = ['category' => $category, 'setting' => $setting];
     return $header;
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $input = Input::all();
     return Common::returnData(200, SUCCESS, $input['user_id'], $input['session_id'], CommonSetting::getSettingMenu());
 }