public function getRelations($className) { return isset($this->relations[$className]) ? $this->relations[$className] : array(); }