protected function createFileName($type, $parts = array())
	{
		$filename = strtolower($parts['name']);

		$ext = 'php';

		if ($type == 'template')
		{
			$ext = $this->_layoutExt;
		}

		return $filename . '.' . $ext;
	}
protected function createFileName($type, $parts = array())
	{
		$filename = strtolower($parts['name']);

		$ext = 'php';

		if ($type == 'template')
		{
			$ext = $this->_layoutExt;
		}

		return $filename . '.' . $ext;
	}
protected function createFileName ( $ type , $ parts = array ( ) ) { $ filename = strtolower ( $ parts [ 'name' ] ) ; $ ext = 'php' ; if ( $ type == 'template' ) { $ ext = $ this -> _layoutExt ; } return $ filename . '.' . $ ext ; }
Create the filename for a resource

@param   string  $type   The resource type to create the filename for
@param   array   $parts  An associative array of filename information
@return  string  The filename
Create the filename for a resource