You are here

function PanelsLegacyState::determineStatus in Panels 6.3

Same name and namespace in other branches
  1. 7.3 includes/legacy.inc \PanelsLegacyState::determineStatus()

Run all compatibility checks.

1 call to PanelsLegacyState::determineStatus()
PanelsLegacyState::getStatus in includes/legacy.inc

File

includes/legacy.inc, line 30

Class

PanelsLegacyState
Legacy state manager for Panels.

Code

function determineStatus() {
  $this->legacy = array();
  foreach (get_class_methods($this) as $method) {
    if (strtolower(substr($method, 0, 5)) == 'check') {
      $this->legacy[$method] = $this
        ->{$method}();
    }
  }
  $this->legacy = array_filter($this->legacy);
}