Exemplo n.º 1
0
	/**
	 * 생성자
	 */
	public function __construct() {
		parent::__construct();
		//$class_name = strtolower(substr(get_class($this), 11));
		$class_name = substr(get_class($this), 11);
		$class_name{0} = strtolower($class_name{0});
		$this->id = $class_name;
		$this->plugin_info = wiki_plugin_info($class_name);
	}
Exemplo n.º 2
0
	/**
	 *
	 * 생성자
	 */
	public function __construct() {
		parent::__construct();
		$this->nowiki_patterns = array(
		array("start_regex"=>"<pre>", "end_regex"=>"<\/pre>", "id"=>"pre"),
		array("start_regex"=>"<nowiki>", "end_regex"=>"<\/nowiki>", "id"=>"nowiki"),
		array("start_regex"=>"<code(.*?)>", "end_regex"=>"<\/code>", "id"=>"code")
		);
	}
Exemplo n.º 3
0
	/**
	 * 생성자
	 */
	public function __construct() {
		
		parent::__construct();			
		
		$class_name = substr(get_class($this), 15);
		$class_name{0} = strtolower($class_name{0});
		$this->plugin_path = WIKI_PATH."/plugins/".$class_name;
		$this->data_path = WIKI_PATH."/data/".$this->wiki[bo_table];		
		
	}
Exemplo n.º 4
0
	/**
	 * 생성자
	 */
	public function __construct() {
		parent::__construct();	
		
		$this->g = array(
			"member"=>$this->member, 
			"is_admin"=>$this->is_admin, 
			"is_wiki_admin"=>$this->is_wiki_admin,
			"urlencode"=>$this->urlencode,
			"is_member"=>$this->is_member,
			"is_guest"=>$this->is_guest,
			"config"=>$this->config);				
	}
Exemplo n.º 5
0
	/**
	 * 
	 * 생성자
	 */
	public function __construct() {
		parent::__construct();
		$this->loadPlugins();
	}
Exemplo n.º 6
0
	/**
	 *
	 * 생성자
	 */
	function __construct() {
		parent::__construct();
		$this->path = WIKI_PATH."/data/".$this->wiki['bo_table']."/files/";
	}
Exemplo n.º 7
0
	/**
	 * 생성자
	 */
	public function __construct() {
  		parent::__construct();
	}
Exemplo n.º 8
0
	/**
	 * 생성자
	 */
	public function __construct() {

		parent::__construct();
		$this->thumb_path = WIKI_PATH."/data/".$this->wiki['bo_table']."/thumb";
		$this->thumb_url = $this->wiki['url']."/data/".$this->wiki['bo_table']."/thumb";
	}