/** * Print the object for debugging purposes. */ function trace() { $rv = 'Atsumi(' . get_class($this) . ") {"; $ik = $this->getIndexKeys(); if (!is_null($ik)) { $ao = new AtsumiObject($this->getCore()); foreach ($ik as $index) { $rv .= "\n {$index} -> " . $ao->get($index); } } $rv .= "\n}\n"; return $rv; }
/** * Trace the change set under the core. */ function trace() { $rv = parent::trace(); $rv .= 'Chunsu(' . get_class($this) . ") {"; if (!is_null($this->changeset)) { foreach (array_keys($this->changeset) as $index) { $rv .= "\n {$index} -> " . print_r($this->changeset[$index], true); } } $rv .= "\n}\n"; return $rv; }