33 lines
969 B
PHP
33 lines
969 B
PHP
<?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', 'string', '' ],
|
|
[ 'model_id', 'int', '10' ],
|
|
[ 'membership_id', 'int', '10' ],
|
|
];
|
|
|
|
public function __construct() {
|
|
parent::__construct();
|
|
}
|
|
} |