public function setData($mKey, $mValue = null)
    {
        if (is_array($mKey)) {
            foreach ($mKey as $sKey => $mSubValue) {
                $this->setData($sKey, $mSubValue);
            }
        } elseif (is_string($mKey) || is_numeric($mKey)) {
            $this->aData[$mKey] = $mValue;
        } else {
            throw new NailsException('Key must be a string or a numeric');
        }

        return $this;
    }