src/curlient/StringFilter.php
public function filter($content, array $fieldConf) {
		if ($content) {
			foreach ($fieldConf as $conf) {
				if ($conf) {
					$filterId = array_shift($conf);
					if ($filterId && isset(self::$filters[ $filterId ])) {
						/**@var \curlient\IFieldFilter $filter */
						$filter  = self::$filters[ $filterId ];
						$content = $filter->filter($content, $conf);
					}
				}
			}
		}

		return $content;
	}
public function filter($content, array $fieldConf) {
		if ($content) {
			foreach ($fieldConf as $conf) {
				if ($conf) {
					$filterId = array_shift($conf);
					if ($filterId && isset(self::$filters[ $filterId ])) {
						/**@var \curlient\IFieldFilter $filter */
						$filter  = self::$filters[ $filterId ];
						$content = $filter->filter($content, $conf);
					}
				}
			}
		}

		return $content;
	}
@param string $content
@param array  $fieldConf

@return string