public function setProperty($name, $value) { if ($this->isLink) { static::$lastLink[$name] = $value; } else { if (!isset(static::$cols[$name])) { static::$cols[$name] = true; } $this->node[$name] = $value; } return $this; }