function getPlayer($media, $conf)
 {
     $mediaName = $media['file_name'];
     $mediaPath = $media['file_path'];
     // Die genaue Konfig holen wir für den Dateityp
     $fileType = $media['file_type'];
     $playerConf = $conf[$fileType . '.']['player.'];
     $color = $playerConf['backgroundColor'];
     $autoStart = $playerConf['autoStart'];
     $autoReplay = $playerConf['autoReplay'];
     tx_rnbase::load('tx_rnbase_util_Extensions');
     $fePath = tx_rnbase_util_Extensions::siteRelPath('rn_base') . 'sv1/';
     $out = '<object type="application/x-shockwave-flash" data="/' . $fePath . 'dewplayer.swf?son=' . $mediaPath . $mediaName . '&amp;autostart=' . $autoStart . '&amp;autoreplay=' . $autoReplay . '&amp;bgcolor=' . $color . '" width="200" height="20"><param name="movie" value="/' . $fePath . 'dewplayer.swf?son=' . $mediaPath . $mediaName . '&amp;autostart=' . $autoStart . '&amp;autoreplay=' . $autoReplay . '&amp;bgcolor=' . $color . '" />' . $media['title'] . '</object>';
     return $out;
 }
 *
 *  The GNU General Public License can be found at
 *  http://www.gnu.org/copyleft/gpl.html.
 *
 *  This script is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
define('IMAGE_CANVAS_SYSTEM_FONT_PATH', PATH_site);
tx_rnbase::load('tx_rnbase_util_Extensions');
tx_rnbase::load('tx_rnbase_util_Network');
require_once PATH_site . tx_rnbase_util_Extensions::siteRelPath("pbimagegraph") . 'Image/class.tx_pbimagegraph.php';
require_once PATH_site . tx_rnbase_util_Extensions::siteRelPath("pbimagegraph") . 'Image/class.tx_pbimagegraph_canvas.php';
/**
 * Builder class for the 'pbimagegraph' extension. The class is modifed version of
 * tx_pbimagegraph_ts. It can be used to build graphs from PHP.
 *
 * @author Rene Nitzsche <*****@*****.**>
 * @author Patrick Broens <*****@*****.**>
 * @package TYPO3
 * @subpackage rn_base
 */
class tx_rnbase_plot_Builder
{
    private $ctx;
    private static $arrPlotClassAlias = array('AREA' => 'tx_pbimagegraph_Plot_Area', 'BAND' => 'tx_pbimagegraph_Plot_Band', 'BAR' => 'tx_pbimagegraph_Plot_Bar', 'BOXWHISKER' => 'tx_pbimagegraph_Plot_BoxWhisker', 'CANDLESTICK' => 'tx_pbimagegraph_Plot_CandleStick', 'DOT' => 'tx_pbimagegraph_Plot_Dot', 'IMPULSE' => 'tx_pbimagegraph_Plot_Impulse', 'LINE' => 'tx_pbimagegraph_Plot_Line', 'ODO' => 'tx_pbimagegraph_Plot_Odo', 'PIE' => 'tx_pbimagegraph_Plot_Pie', 'RADAR' => 'tx_pbimagegraph_Plot_Radar', 'SCATTER' => 'tx_pbimagegraph_Plot_Dot', 'STEP' => 'tx_pbimagegraph_Plot_Step', 'SMOOTH_AREA' => 'tx_pbimagegraph_Plot_Smoothed_Area', 'SMOOTH_LINE' => 'tx_pbimagegraph_Plot_Smoothed_Line', 'SMOOTH_RADAR' => 'tx_pbimagegraph_Plot_Smoothed_Radar', 'FIT_LINE' => 'tx_pbimagegraph_Plot_Fit_Line');
    private function __construct()
    {