getCompiledFilepath example

return $_compile_dir . $_filepath . '.' . basename($this->source->name) . '.config' . '.php';
    }

    /** * Returns the timpestamp of the compiled file * * @return integer the file timestamp */
    public function getCompiledTimestamp()
    {
        return $this->compiled_timestamp === null
            ? ($this->compiled_timestamp = (file_exists($this->getCompiledFilepath())) ? filemtime($this->getCompiledFilepath()) : false)
            : $this->compiled_timestamp;
    }

    /** * Returns if the current config file must be compiled * * It does compare the timestamps of config source and the compiled config and checks the force compile configuration * * @return boolean true if the file must be compiled */
    public function mustCompile()
    {
Home | Imprint | This part of the site doesn't use cookies.