If not already done, load the file for the given handle and populate
the uncompiled_code[] hash with its code. Do not compile.

@param string $handle ?

@return bool
163822
function loadfile($handle)
    {
        // If the file for this handle is already loaded and compiled, do nothing.
        if (isset($this->uncompiled_code[$handle]) && !empty($this->uncompiled_code[$handle])) {
            return true;
        }

        // If we don't have a file assigned to this handle, die.
        if (!isset($this->files[$handle])) {
            die("Template->loadfile(): Aucun fichier spécifié pour le modèle". $handle);
        }

        $filename = $this->files[$handle];

        $str = implode("", @file($filename)); 
        if (empty($str)) {
            die("Template->loadfile(): Le fichier $filename pour le modèle $handle est vide");
        }

        $this->uncompiled_code[$handle] = $str;

        return true;
    }
498467
public function getHandler(string $handler): Handler
    {
        if (!isset($this->handlers[$handler])) {
            if (!class_exists($handler) || !class_implements($handler, Handler::class)) {
                throw new \RuntimeException("No handler found for '$handler'.");
            }

            $instance = new $handler();
            $this->handlers[$handler] = $instance;
        } else {
            $instance = $this->handlers[$handler];
        }

        return $instance;
    }
431006
public function get($handle)
    {
        $this->setting = $this->items->where('handle', $handle)->first();

        return $this->setting;
    }
706146
private function releaseMultiHandle($handle, $maxHandles)
    {
        $id = (int) $handle;

        if (count($this->multiHandles) <= $maxHandles) {
            $this->multiOwned[$id] = false;
        } elseif (isset($this->multiHandles[$id], $this->multiOwned[$id])) {
            // Prune excessive handles
            curl_multi_close($this->multiHandles[$id]);
            unset($this->multiHandles[$id], $this->multiOwned[$id]);
        }
    }
739496
function pparse($handle)
    {
        if (!$this->loadfile($handle)) {
            die("Template->pparse(): Impossible de charger le fichier template pour le modèle $handle");
        }

        // actually compile the template now.
        if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle])) {
            // Actually compile the code now.
            $this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
        }
        // Run the compiled code.
        eval($this->compiled_code[$handle]);
        //return true;
    }
1315224
public function affectedRows($handle, $type)
    {
        switch ($type) {
            case 1:
                return $handle->getInsertedCount();
                break;
            case 2:
                return $handle->getModifiedCount();
                break;
            case 3:
                return $handle->getDeletedCount();
                break;
            default:
                return false;
        }
    }
1246724
public function label($handle = null)
    {
        if ($handle) {
            return $this->get($handle)->label;
        }

        return $this->setting->label;
    }
610223
public function window($handle)
    {
        $params = ['name' => (string) $handle];
        $this->executor->execute(DriverCommand::SWITCH_TO_WINDOW, $params);

        return $this->driver;
    }
623419
protected function enqueue_fallback_handle( $handle ) {
		$result = false;
		foreach ( $this->handlers as $handler ) {
			$result = $result || $handler->maybe_enqueue( $handle );
		}
		return $result;
	}
1272984
protected function hook($handle = NULL) {
        return \nb\Hook::pos(empty($handle) ? get_class($this) : $handle);
    }
561987
protected function delAssoc($handle)
    {
        $oldSession = session_id();
        session_commit();
        session_id($handle);
        session_start();
        session_destroy();
        if($oldSession) {
            session_id($oldSession);
            session_start();
        }
    }
1134849
public function deferedLoadingJavascript($tag, $handle)
    {
        if (is_admin()) {
            return $tag;
        }

        if (isset($_GET['preview']) && $_GET['preview'] == 'true') {
            return $tag;
        }

        $scriptsHandlesToIgnore = apply_filters('Municipio/Theme/Enqueue/deferedLoadingJavascript/handlesToIgnore', array('readspeaker'), $handle);

        if (in_array($handle, $scriptsHandlesToIgnore)) {
            return $tag;
        }

       return str_replace(' src', ' defer="defer" src', $tag);
    }
1252384
public function addScript($handle, $src = null, $deps = array(), $ver = false, $inFooter = false)
	{
		$args = func_get_args();
		array_shift($args);
		return $this->add($handle, 'script', $args);
	}
605369
public function load($key)
    {
        $fileName = $this->getCacheFilename($key);
        if (!is_file($fileName)) {
            return false;
        }

        require_once $fileName;

        return true;
    }
513514
public function localize($var, $handle = null)
    {
        if(! isset($this->data) || ! $this->data || is_string($var) == false) {
            return false;
        }

        if($handle !== null) {
            $this->handle = $handle;
        }

        $this->var = $var;

        add_action( 'wp_enqueue_scripts', array($this, '_localize') );

        return true;
    }
12274
public function getPreconditionByHandle($handle)
    {
        $list = $this->config->get('install.preconditions');
        if (!isset($list[$handle])) {
            throw new Exception(sprintf('Unable to find an install precondition with handle %s', $handle));
        }
        if (!$list[$handle]) {
            throw new Exception(sprintf('The precondition with handle %s is disabled', $handle));
        }
        $className = $list[$handle];
        $instance = $this->getPreconditionByClassName($className);

        return $instance;
    }
29003
function _close_handle($handle)
    {
        if (!$this->_send_sftp_packet(NET_SFTP_CLOSE, pack('Na*', strlen($handle), $handle))) {
            return false;
        }

        // "The client MUST release all resources associated with the handle regardless of the status."
        //  -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.3
        $response = $this->_get_sftp_packet();
        if ($this->packet_type != NET_SFTP_STATUS) {
            user_error('Expected SSH_FXP_STATUS');
            return false;
        }

        if (strlen($response) < 4) {
            return false;
        }
        extract(unpack('Nstatus', $this->_string_shift($response, 4)));
        if ($status != NET_SFTP_STATUS_OK) {
            $this->_logError($response, $status);
            return false;
        }

        return true;
    }