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)

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'.

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 Mon Feb 24 2020 07:10:48