PhpThumb::getImplementations PHP Method

getImplementations() private method

This function loops over $this->_implementations and validates that the required extensions are loaded. I had planned on attempting to load them dynamically via dl(), but that would provide more overhead than I was comfortable with (and would probably fail 99% of the time anyway)
private getImplementations ( )
    private function getImplementations()
    {
        foreach ($this->_implementations as $extension => $loaded) {
            if ($loaded) {
                continue;
            }
            if (extension_loaded($extension)) {
                $this->_implementations[$extension] = true;
            }
        }
    }