protected function getObjectParams(DOMElement $object)
	{
		$params      = [];
		$settingName = strtolower($this->settingName);
		foreach ($object->getElementsByTagName('param') as $param)
		{
			$paramName = strtolower($param->getAttribute('name'));
			if ($paramName === $settingName && $param->parentNode->isSameNode($object))
			{
				$params[] = $param;
			}
		}

		return $params;
	}
protected function getObjectParams(DOMElement $object)
	{
		$params      = [];
		$settingName = strtolower($this->settingName);
		foreach ($object->getElementsByTagName('param') as $param)
		{
			$paramName = strtolower($param->getAttribute('name'));
			if ($paramName === $settingName && $param->parentNode->isSameNode($object))
			{
				$params[] = $param;
			}
		}

		return $params;
	}
protected function getObjectParams ( DOMElement $ object ) { $ params = [ ] ; $ settingName = strtolower ( $ this -> settingName ) ; foreach ( $ object -> getElementsByTagName ( 'param' ) as $ param ) { $ paramName = strtolower ( $ param -> getAttribute ( 'name' ) ) ; if ( $ paramName === $ settingName && $ param -> parentNode -> isSameNode ( $ object ) ) { $ params [ ] = $ param ; } } return $ params ; }
Get all param elements attached to given object

@param  DOMElement   $object Context element
@return DOMElement[]
Get all param elements attached to given object