1. Home
  2. Docs
  3. Simpods MVC
  4. Tutorials
  5. Models
  6. Admin Models

Admin Models

Backend Models are only loaded for the backend only.

The Default Classes

Area Categories Model

File Name

mvc_admin_area_categories.class.php

Description

This is the class to process data for Simpods Area Categories, also named Simpods Hierarchy.

Example

Copy to Clipboard

Child Theme Override

No

Area Field Model

File Name

mvc_admin_area_field.class.php

Description

This adds an Area Field for Pods Framework and allows you to save IDs to the field.

Example

Copy to Clipboard

Child Theme Override

No

Cross Admin Model

File Name

mvc_admin_cross_admin.class.php

Description

This is the default class for the whole backend site. You can create some regularly used methods here. An instance is created automatically when a page is loaded. You can use it to access the methods from the General class

Example

Copy to Clipboard

Child Theme Override

Yes

Custom Controllers Model

File Name

mvc_admin_custom_controllers.class.php

Description

This is for the Simpods Custom Controller to bring custom controllers for the backend.

Example

Copy to Clipboard

Child Theme Override

No

Factory Model

File Name

mvc_admin_factory.class.php

Description

This is a class for storing global/static variables.

Example

Copy to Clipboard

Child Theme Override

Yes

General Model

File Name

mvc_admin_general.class.php

Description

This is the mother. All new backend classes should extend this class. This class is a collection of some regularly used SQL methods.

Example

Copy to Clipboard

Child Theme Override

No

Guest Accounts Model

File Name

mvc_admin_guest_accounts.class.php

Description

Simpods Guest Accounts allow you to quickly create guest accounts for your potential clients. This backend class will create a “last_login” user-meta when a logged-in user lands on any page.

Example

Copy to Clipboard

Child Theme Override

No

Linked Areas Model

File Name

mvc_admin_linked_areas.class.php

Description

This is the class to process data for Simpods Linked Areas

Example

Copy to Clipboard

Child Theme Override

No

Parent Cross Admin Model

File Name

mvc_admin_parent_cross_admin.class.php

Description

This is the parent of mvc_admin_cross_admin. This class is a collection of some regularly used methods for any sites and set up some dependencies to run Simpods

Example

Copy to Clipboard

Child Theme Override

No

Parent Factory Model

File Name

mvc_admin_parent_factory.class.php

Description

This is a parent class for mvc_admin_factory. It auto-loads the classes and carries some global/static variables which can be accessible through MVC_Admin_Factory

Example

Copy to Clipboard

Child Theme Override

No

Pods Model

File Name

mvc_admin_pods.class.php

Description

This is the class Simpods adds some options to Pods Framework

Example

Copy to Clipboard

Child Theme Override

No

Pods Files Model

File Name

mvc_admin_pods_files.class.php

Description

This creates a new field type for Pods Framework, so Simpods can process the uploaded files.

Example

Copy to Clipboard

Child Theme Override

No

Sample Model

File Name

mvc_admin_sample.class.php

Description

This is a sample that developers can copy then modify to create their own models

Example

Copy to Clipboard

Child Theme Override

Yes

Settings Helper Model

File Name

mvc_admin_settings_helper.class.php

Description

This class will help to create a settings table in Simpods. (Supports Pods Framework for generating fields)

Example

Copy to Clipboard

Child Theme Override

No

Theme Model

File Name

mvc_admin_theme.class.php

Description

This is the class to bring in the settings interface of Simpods.

Example

Copy to Clipboard

Child Theme Override

No

User Code Model

File Name

mvc_admin_user_code.class.php

Description

This is designed to handle user codes such as authorisation codes

Example

Copy to Clipboard

Child Theme Override

No

User Settings Helper Model

File Name

mvc_admin_user_settings_helper.class.php

Description

This class extends mvc_admin_settings_helper to work with per user settings.

Example

Copy to Clipboard

Child Theme Override

No