public function __toString() { # if the collection hasn't been officially created, return empty if (!$this->_wasCreated) { return ''; } $options = $this->options(); $options[$this->_contentToken] = parent::__toString(); return $this->safeInsertData($this->_pattern, $options); }