Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions
ModelStateUtil Class Reference

Static Public Member Functions

static resolveModuleClassNameByStateOfModel (RedBeanModel $model)
 

Detailed Description

Helper class to handle resolving correct information for models that have different states which determine certain characteristics about how to handle that model.

Definition at line 41 of file ModelStateUtil.php.

Member Function Documentation

static resolveModuleClassNameByStateOfModel ( RedBeanModel  $model)
static

Special handling for modules that use 'states' for their models. Currently only the Contacts/Leads modules have this characteristic. This method will need to be expanding to dynamically inspect the modules and resolve the state information without needing a hard coded if clause asking if the module class name is 'Contacts'.

Returns
string of the module directory name.

Definition at line 50 of file ModelStateUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Aug 4 2020 07:10:53
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.