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

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

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/code/framework/view/block/parameter/renderer/factory.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/raw/framework/view/block/parameter/renderer/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/renderer/factory.php#L10-L20`.

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

/**
* 
*/
class CJT_Framework_View_Block_Parameter_Renderer_Factory {
	
	/**
	* put your comment there...
	* 
	* @param mixed $name
	* @param mixed $definition
	* @param mixed $factory
	* @return CJT_Framework_Developer_Interface_Block_Parameters_Types_Interface_Type
	*/
	public function create($name, $definition) {
		$name = ucfirst($name);
		// Get type class name.
		$className = "CJT_Framework_View_Block_Parameter_Renderer_{$name}_{$name}" ;
		// Instantiate!
		return new $className($definition, $this);
	}

	/**
	* put your comment there...
	* 
	* @param mixed $class
	* @param mixed $file
	*/
	public function getClassFile($class, $file) {
		// Get absolute path to the class.
		$loader = CJT_Framework_Autoload_Loader::autoLoad('CJT');
		return $loader->getClassFile($class, $file);
	}

} // End class

```
