public function getConstants() { if (!$this->_constants) { $this->_constants = new TAttributeCollection(); $this->_constants->setCaseSensitive(true); } return $this->_constants; }