# css-javascript-toolbox/8.0.2/framework/view/block/parameter/grouper/factory.php

CSS &amp; JavaScript Toolbox, version 8.0.2. 27 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/code/framework/view/block/parameter/grouper/factory.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/raw/framework/view/block/parameter/grouper/factory.php
- Modified: 2014-05-06T16:47:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/code/framework/view/block/parameter/grouper/factory.php#L10-L20`.

```php
<?php
/**
* 
*/

/**
* 
*/
class CJT_Framework_View_Block_Parameter_Grouper_Factory {
	
	/**
	* put your comment there...
	* 
	* @param mixed $name
	* @param mixed $params
	*/
	public function create($name, $params) {
		// Upper case first letter.
		$name = ucfirst($name);
		// Build class name.
		$className = "CJT_Framework_View_Block_Parameter_Grouper_{$name}_{$name}";
		// Inistntiate grouper object.
		return new $className($params);
	}

} // End class.

```
