protected static function isActive($dbId)
    {
        if (!isset(static::$_modulesData[$dbId])) {
            $result = static::findOne($dbId);
            static::$_modulesData[$dbId] = $result;
        }
        if (empty(static::$_modulesData[$dbId])) {
            return false;
        } else {
            $isActive = static::$_modulesData[$dbId]->is_active;
            return $isActive;
        }
    }
protected static function isActive($dbId)
    {
        if (!isset(static::$_modulesData[$dbId])) {
            $result = static::findOne($dbId);
            static::$_modulesData[$dbId] = $result;
        }
        if (empty(static::$_modulesData[$dbId])) {
            return false;
        } else {
            $isActive = static::$_modulesData[$dbId]->is_active;
            return $isActive;
        }
    }
protected static function isActive ( $ dbId ) { if ( ! isset ( static :: $ _modulesData [ $ dbId ] ) ) { $ result = static :: findOne ( $ dbId ) ; static :: $ _modulesData [ $ dbId ] = $ result ; } if ( empty ( static :: $ _modulesData [ $ dbId ] ) ) { return false ; } else { $ isActive = static :: $ _modulesData [ $ dbId ] -> is_active ; return $ isActive ; } }
Check if active dynamicly attached module
Check if active dynamicly attached module