mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Add ModuleModel::getModuleInfo() shortcut method
This commit is contained in:
parent
f6d4de8e70
commit
530b00e3c1
1 changed files with 11 additions and 0 deletions
|
|
@ -392,6 +392,17 @@ class moduleModel extends module
|
|||
return self::addModuleExtraVars($module_info);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Shortcut to getModuleInfoByModuleSrl()
|
||||
*
|
||||
* @param int $module_srl
|
||||
* @return object
|
||||
*/
|
||||
public static function getModuleInfo($module_srl)
|
||||
{
|
||||
return self::getModuleInfoByModuleSrl(intval($module_srl));
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply default skin info
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue