public function GetTagByAlias($name, $backKey = null) { $ret = $this->GetSomeThingByAlias('tags', $name, $backKey, 'Tag'); if ($ret->ID >= 0) { $this->tagsbyname[$ret->ID] =& $this->tags[$ret->ID]; } return $ret; }