예제 #1
0
 /**
  * Renders the destroy.
  *
  * @param string $id The identifier.
  *
  * @return string The rendered destroy.
  */
 public function renderDestroy($id)
 {
     return $this->helper->renderDestroy($id);
 }
예제 #2
0
 public function testRenderDestroy()
 {
     $this->assertSame('if (CKEDITOR.instances["foo"]) { delete CKEDITOR.instances["foo"]; }', $this->helper->renderDestroy('foo'));
 }