function create_sub_node($id, $values) { if ($node_id = parent::create_sub_node($id, $values)) { $this->expand_node($id); } return $node_id; }