You are here

function flot::__construct in Flot 7

4 calls to flot::__construct()
flotBar::__construct in ./flot.module
flotLine::__construct in ./flot.module
flotPie::__construct in ./flot.module
flotPoint::__construct in ./flot.module
4 methods override flot::__construct()
flotBar::__construct in ./flot.module
flotLine::__construct in ./flot.module
flotPie::__construct in ./flot.module
flotPoint::__construct in ./flot.module

File

./flot.module, line 383

Class

flot

Code

function __construct($settings = NULL) {
  if (is_array($settings)) {
    foreach ($settings as $key => $setting) {
      if (!empty($setting) && $setting !== 0) {
        $this->{$key} = $setting;
      }
    }
  }
}