public static function init($name, $config_group = 'default') { $initialized = self::$_initialized; $config = Kohana::$config->load('htmleditor')->{$config_group}; self::$_initialized = TRUE; return View::factory('htmleditor', compact('name', 'config', 'initialized')); }
<?php defined('SYSPATH') or die('No direct script access.'); /** * @version SVN: $Id:$ */ echo $textarea; echo Extasy_Htmleditor::init($name);
protected function _input() { return parent::_input() . Extasy_Htmleditor::init($this->get_name()); }