/** * @covers Xoops\Form\Editor::render */ public function testRender() { $value = $this->object->render(); $this->assertTrue(is_string($value)); $this->assertTrue(false !== strpos($value, '<textarea')); }
/** * Editor getter Function * @see skip_editor() * @ignore */ function get_editor($name, $label = FALSE, $args = array()) { $textarea = new Editor($name, $label, $args); return $textarea->render(); }