function filter_displayed_table_items($modules) { return array_filter($modules, array($this, 'is_module_displayed')); }