Add controllers.
このコミットが含まれているのは:
コミット
9fdb6eaab6
|
@ -0,0 +1,28 @@
|
|||
B<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class CategoryController extends Controller {
|
||||
public function __contruct() {
|
||||
// Init SQL.
|
||||
}
|
||||
|
||||
public function getCategories() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getCategory($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getCategoryParent($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getCategoryMinScreenshots($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class FileController extends Controller {
|
||||
public function __contruct() {
|
||||
// Init SQL.
|
||||
}
|
||||
|
||||
public function getAllFiles() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getAllApprovedFiles() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getAllBrokenFiles() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getAllPendingFiles() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getFile($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getApprovedFile($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getBrokenFile($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getPendingFile($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getFilesInCategory($cat_id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getWarningNotice(id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class OwnerController extends Controller {
|
||||
public function __contruct() {
|
||||
// Init SQL.
|
||||
}
|
||||
|
||||
public function getOwners() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getOwner($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getOwnerFile($file_id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getOwnerUser($user_id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class PermissionController extends Controller {
|
||||
public function __contruct() {
|
||||
// Init SQL.
|
||||
}
|
||||
|
||||
public function getPermissionsFromModule() {
|
||||
//
|
||||
}
|
||||
|
||||
public function getPermissionFromModule($id) {
|
||||
//
|
||||
}
|
||||
|
||||
public function getStorePermissions() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getStorePermissionGroup($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getStorePermissionUser($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getUserPermissions() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getUserPermissionGroup($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
|
||||
public function getUserPermissionUser($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class UserController extends Controller {
|
||||
public function __contruct() {
|
||||
// Init SQL.
|
||||
}
|
||||
|
||||
public function getUsers() {
|
||||
// Select all users from the database, and return the results.
|
||||
}
|
||||
|
||||
public function getUser($id) {
|
||||
// Select a specific user from the database, and return the result.
|
||||
}
|
||||
}
|
新しいイシューから参照