original_string: protected function initConstants($library_name)
  	{
  		if (!isset($this->params[$library_name]['constants']))
  			return;
  
  		foreach ((array)$this->params[$library_name]['constants'] as $constant_name => $constant_value)
  			defined($constant_name) or define($constant_name, $constant_value);
  	}
code: protected function initConstants($library_name)
  	{
  		if (!isset($this->params[$library_name]['constants']))
  			return;
  
  		foreach ((array)$this->params[$library_name]['constants'] as $constant_name => $constant_value)
  			defined($constant_name) or define($constant_name, $constant_value);
  	}
code_tokens: protected function initConstants ( $ library_name ) { if ( ! isset ( $ this -> params [ $ library_name ] [ 'constants' ] ) ) return ; foreach ( ( array ) $ this -> params [ $ library_name ] [ 'constants' ] as $ constant_name => $ constant_value ) defined ( $ constant_name ) or define ( $ constant_name , $ constant_value ) ; }
docstring: Registering required constants
  @param string $library_name
docstring_tokens: Registering required constants