public function getApi()
    {
        if (is_null($this->api)) {
            $this->api = new AES();
            $this->api->setKey($this->getKey());
        }
        
        return $this->api;
    }
public function getApi()
    {
        if (is_null($this->api)) {
            $this->api = new AES();
            $this->api->setKey($this->getKey());
        }
        
        return $this->api;
    }
public function getApi ( ) { if ( is_null ( $ this -> api ) ) { $ this -> api = new AES ( ) ; $ this -> api -> setKey ( $ this -> getKey ( ) ) ; } return $ this -> api ; }
Returns an instance of the Crypto library

@return Crypt_AES
Returns an instance of the Crypto library