cleanup
This commit is contained in:
@ -1,50 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* app/plugins/blog/controllers/admin/blog.php
|
|
||||||
*
|
|
||||||
* This is the Blog admin controller.
|
|
||||||
*
|
|
||||||
* @package TP Blog
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
namespace TheTempusProject\Controllers\Admin;
|
|
||||||
|
|
||||||
use TheTempusProject\Houdini\Classes\Views;
|
|
||||||
use TheTempusProject\Houdini\Classes\Navigation;
|
|
||||||
use TheTempusProject\Houdini\Classes\Components;
|
|
||||||
use TheTempusProject\Classes\AdminController;
|
|
||||||
use TheTempusProject\Models\Members as MemberModel;
|
|
||||||
|
|
||||||
class Member extends AdminController {
|
|
||||||
public static $memberships;
|
|
||||||
|
|
||||||
public function __construct() {
|
|
||||||
parent::__construct();
|
|
||||||
self::$title = 'Admin - Memberships';
|
|
||||||
self::$memberships = new MemberModel;
|
|
||||||
$view = Navigation::activePageSelect( 'nav.admin', '/admin/member' );
|
|
||||||
Components::set( 'ADMINNAV', $view );
|
|
||||||
}
|
|
||||||
|
|
||||||
public function index( $data = null ) {
|
|
||||||
Views::view( 'members.admin.list', self::$memberships->list() );
|
|
||||||
}
|
|
||||||
|
|
||||||
public function create( $data = null ) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public function edit( $data = null ) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public function view( $data = null ) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public function delete( $data = null ) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public function preview( $data = null ) {
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* app/plugins/blog/models/blog.php
|
|
||||||
*
|
|
||||||
* This class is used for the manipulation of the blog database table.
|
|
||||||
*
|
|
||||||
* @package TP Blog
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
namespace TheTempusProject\Models;
|
|
||||||
|
|
||||||
use TheTempusProject\Canary\Bin\Canary as Debug;
|
|
||||||
use TheTempusProject\Bedrock\Functions\Check;
|
|
||||||
use TheTempusProject\Bedrock\Functions\Sanitize;
|
|
||||||
use TheTempusProject\Classes\DatabaseModel;
|
|
||||||
use TheTempusProject\TheTempusProject as App;
|
|
||||||
|
|
||||||
class Members extends DatabaseModel {
|
|
||||||
public $tableName = 'memberships';
|
|
||||||
public $databaseMatrix = [
|
|
||||||
[ 'name', 'varchar', '155' ],
|
|
||||||
// renews?
|
|
||||||
// does this renew periodically?
|
|
||||||
// renewal period?
|
|
||||||
// if periodic, how frequent?
|
|
||||||
// renewal type?
|
|
||||||
// automatic, manual review, paid
|
|
||||||
];
|
|
||||||
|
|
||||||
public function __construct() {
|
|
||||||
parent::__construct();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,33 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* app/plugins/members/models/membershipAssociations.php
|
|
||||||
*
|
|
||||||
* This class is used for the manipulation of the membership associations database table.
|
|
||||||
*
|
|
||||||
* @package TP Members
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace TheTempusProject\Models;
|
|
||||||
|
|
||||||
use TheTempusProject\Canary\Bin\Canary as Debug;
|
|
||||||
use TheTempusProject\Bedrock\Functions\Check;
|
|
||||||
use TheTempusProject\Bedrock\Functions\Sanitize;
|
|
||||||
use TheTempusProject\Classes\DatabaseModel;
|
|
||||||
use TheTempusProject\TheTempusProject as App;
|
|
||||||
|
|
||||||
class Membershipassociations extends DatabaseModel {
|
|
||||||
public $tableName = 'membership_associations';
|
|
||||||
public $databaseMatrix = [
|
|
||||||
[ 'model_type', 'varchar', '64' ],
|
|
||||||
[ 'model_id', 'int', '10' ],
|
|
||||||
[ 'membership_id', 'int', '10' ],
|
|
||||||
];
|
|
||||||
|
|
||||||
public function __construct() {
|
|
||||||
parent::__construct();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* app/plugins/members/models/members.php
|
|
||||||
*
|
|
||||||
* This class is used for the manipulation of the members database table.
|
|
||||||
*
|
|
||||||
* @package TP Members
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
namespace TheTempusProject\Models;
|
|
||||||
|
|
||||||
use TheTempusProject\Canary\Bin\Canary as Debug;
|
|
||||||
use TheTempusProject\Bedrock\Functions\Check;
|
|
||||||
use TheTempusProject\Bedrock\Functions\Sanitize;
|
|
||||||
use TheTempusProject\Classes\DatabaseModel;
|
|
||||||
use TheTempusProject\TheTempusProject as App;
|
|
||||||
|
|
||||||
class Membershiprecords extends DatabaseModel {
|
|
||||||
public $tableName = 'membership_records';
|
|
||||||
public $databaseMatrix = [
|
|
||||||
[ 'membership_id', 'int', '10' ],
|
|
||||||
[ 'recorded_at', 'int', '10' ],
|
|
||||||
[ 'record_type', 'varchar', '64' ],
|
|
||||||
];
|
|
||||||
|
|
||||||
public function __construct() {
|
|
||||||
parent::__construct();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
list here
|
|
Reference in New Issue
Block a user