public function getConsent($description)
    {
        static $codes = array();

        if (! isset($codes[$description])) {
            $codes[$description] = $this->_loadClass('consentCode', true, array($description));
        }

        return $codes[$description];
    }
public function getConsent($description)
    {
        static $codes = array();

        if (! isset($codes[$description])) {
            $codes[$description] = $this->_loadClass('consentCode', true, array($description));
        }

        return $codes[$description];
    }
public function getConsent ( $ description ) { static $ codes = array ( ) ; if ( ! isset ( $ codes [ $ description ] ) ) { $ codes [ $ description ] = $ this -> _loadClass ( 'consentCode' , true , array ( $ description ) ) ; } return $ codes [ $ description ] ; }
Returns a single consent code object.

@param string $description
@return \Gems\Util\ConsentCode
Returns a single consent code object .