public function add ($key , $value) {
        if (!$this->_r) {
            if ($key === null)
                $this->_d[] = $value;
            else
                $this->_d[$key] = $value;
        } else
            throw new Exception(Yii::t ('yii' , 'The map is read only.'));
    }