/** * __call * @desc Resolves dynamically build chart class methods from configuration data. * * @param string $name * @param array $parameters */ public function __call($name, $parameters) { $methodObject = Google_Base::getMethodType($name); $methodType = $methodObject["type"]; $name = $methodObject["name"]; switch ($methodType) { case "set": $firstDown = Google_Base::ucFirstDown($name); $this->setProperty($firstDown, $parameters[0]); break; default: break; } }