TranslateGettext::checkAttributes PHP Method

checkAttributes() protected method

Make sure that required attributes are set.
protected checkAttributes ( )
    protected function checkAttributes()
    {
        if (!$this->domain || !$this->locale || !$this->dir) {
            throw new BuildException("You must specify values for domain, locale, and dir attributes.");
        }
    }