-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added app name prefixes to controllers
- Loading branch information
Showing
16 changed files
with
79 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Dinkly v2.04 | ||
Dinkly v2.05 | ||
============ | ||
|
||
The biggest little PHP framework | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
apps/admin/modules/group/GroupController.php → ...in/modules/group/AdminGroupController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
apps/admin/modules/home/HomeController.php → ...dmin/modules/home/AdminHomeController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
apps/admin/modules/login/LoginController.php → ...in/modules/login/AdminLoginController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
apps/admin/modules/user/UserController.php → ...dmin/modules/user/AdminUserController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* ApiController | ||
* | ||
* | ||
* @package Dinkly | ||
* @subpackage AppsApiController | ||
* @author Christopher Lewis <lewsid@lewsid.com> | ||
*/ | ||
|
||
class ApiController extends Dinkly | ||
{ | ||
/** | ||
* Default Constructor | ||
* | ||
* @return bool: always returns true on successful construction of view | ||
* | ||
*/ | ||
public function __construct() | ||
{ | ||
return true; | ||
} | ||
} |
9 changes: 7 additions & 2 deletions
9
apps/api/modules/api/ApiController.php → ...pi/modules/router/ApiRouterController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
6 changes: 2 additions & 4 deletions
6
apps/error/modules/error/ErrorController.php → ...rror/modules/http/ErrorHttpController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
apps/frontend/modules/landing/FrontendLandingController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/** | ||
* FrontendLandingController | ||
* | ||
* | ||
* @package Dinkly | ||
* @subpackage AppsFrontendLandingController | ||
* @author Christopher Lewis <lewsid@lewsid.com> | ||
*/ | ||
|
||
class FrontendLandingController extends FrontendController | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
} | ||
|
||
/** | ||
* Load default view | ||
* | ||
* @return bool: always returns true on successful construction of view | ||
* | ||
*/ | ||
public function loadDefault() | ||
{ | ||
return true; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters