| // +----------------------------------------------------------------------+ /** * Media view template rendering class. * * @category Visualizer * @package Render * * @since 1.0.0 */ class Visualizer_Render_Templates extends Visualizer_Render { /** * The array of template names. * * @since 1.0.0 * * @access private * @var array */ private $_templates = array( 'library-chart', 'library-empty', ); /** * Renders concreate template and wraps it into script tag. * * @since 1.0.0 * * @param string $id The name of a template. * @param string $callback The name of the function to render a template. */ private function _renderTemplate( $id, $callback ) { echo ''; } /** * Renders library-chart template. * * @since 1.0.0 * * @access protected */ protected function _renderLibraryChart() { echo '
'; } /** * Renders library-empty template. * * @since 1.0.0 * * @access protected */ protected function _renderLibraryEmpty() { echo '