lib/dmCkEditor.php
/**
   * Renders the ckeditor contents
   * @param string $data
   */
Renders the ckeditor contents
@param string $data
Renders the ckeditor contents @param string $data
public function render($data) 
  {
    $html = str_get_html($data);
    foreach ($html->find('img') as $image) 
    {
      $this->updateImage($image);
    }
    foreach ($html->find('a.link') as $page) 
    {
      $this->updatePage($page);
    }
    return $html;
  }
public function render ( $ data ) { $ html = str_get_html ( $ data ) ; foreach ( $ html -> find ( 'img' ) as $ image ) { $ this -> updateImage ( $ image ) ; } foreach ( $ html -> find ( 'a.link' ) as $ page ) { $ this -> updatePage ( $ page ) ; } return $ html ; }
Renders the ckeditor contents
 @param string $data
Renders the ckeditor contents @param string $data