src/core/framework/core/3rdparty/dwoo/Dwoo/Security/Policy.php
public function allowPhpFunction($func)
	{
		if (is_array($func))
			foreach ($func as $fname)
				$this->allowedPhpFunctions[strtolower($fname)] = true;
		else
			$this->allowedPhpFunctions[strtolower($func)] = true;
	}
public function allowPhpFunction($func)
	{
		if (is_array($func))
			foreach ($func as $fname)
				$this->allowedPhpFunctions[strtolower($fname)] = true;
		else
			$this->allowedPhpFunctions[strtolower($func)] = true;
	}
public function allowPhpFunction ( $ func ) { if ( is_array ( $ func ) ) foreach ( $ func as $ fname ) $ this -> allowedPhpFunctions [ strtolower ( $ fname ) ] = true ; else $ this -> allowedPhpFunctions [ strtolower ( $ func ) ] = true ; }
adds a php function to the allowed list

@param mixed $func function name or array of function names
adds a php function to the allowed list