public function setBBCodeCallback($code, Closure $callback) {
		if (is_array($code)) {
			foreach ($code as $part) {
				$this->actions[$part] = $callback;
			}
			
			return $this;
		}
		
		$this->actions[$code] = $callback;
		
		return $this;
	}