Download List

프로젝트 설명

FastTemplate is a PHP3 class for managing template files
and performing variable interpolation. It is a strict port of
Jason Moore's Perl module CGI::FastTemplate. Its primary
use is to separate HTML and PHP code, making your PHP
code cleaner.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2009-03-20 15:04
1.6.2

오류가 발생했을 때 파일 이름에 템플릿을 캡처에 대한 반환이 비어있습니다. 지금은 제작 환경 및 배포 환경의 차이를 설명할 수있습니다 재작성 경로를 템플릿.
An error is returned for capture when the template filename is empty. The template path may now be rewritten to account for differences between the authoring environment and the deployment environment.

2008-02-05 16:02
1.6.0

문서 스타일을 많이 청소기가 재작 성했습니다.
Tags: Code cleanup
The documentation style was rewritten to be much
cleaner.

2006-06-28 08:55
1.5.1

이제 문서 Docs 디렉터리에서, 그리고 개선했다. rewrite_link_href_callback, rewrite_src_path, set_output_rewrite_src_path, 그리고 pre_filter 기능이 추가되었습니다. JS, CSS를, 그리고 사용자 정의 경로로 재작 성하는 템플릿에서 img src. 다운 "template_path의 모든 인스턴스는 / 파일"문서를 발견,이 때 매우 작업 출력 컨텐츠 작업 템플릿을 불러올 것입 스크립트를 어떤 경로로 연결하지 않고 영상 편집기에서 템플릿을 편집하고자하는 도움이됩니다 재작 성합니다. FastWrite 및 FastPrint 개선했다.
Tags: Major feature enhancements
Documentation now is in the DOCS directory, and was improved. The rewrite_link_href_callback, rewrite_src_path, set_output_rewrite_src_path, and pre_filter functions were added. JS, CSS, and img src from a template are rewritten to a custom path. All instances of src="template_path/file" found in the document are rewritten, which is very helpful when you want to edit the work template in a visual editor without any connection to the script path that will invoke the work template output content. FastWrite and FastPrint were improved.

2005-03-29 23:01
1.3.0

DELETE_CACHE 함수는 파일의 시간이 만료보다 훨씬 나이가 삭제합니다. 캐시에 파일 확장명 : 예를 들면, 지금은 캐시 파일 이름 md5name.ft됩니다. 이 DELETE_CACHE 때문에 필요가있다. ) <!--# = "include2.html "-->. 파일을 포함하는 다른 성명을 SSI (처럼 사용하는 템플릿을 어떻게 차단 포함 포함 그것은 여러 가지 경우가 유용 페이지의 다른 부분에 대한 템플릿, 당신은 나가있어 어떠한 PHP 코드를 작성하는 페이지의 모든 "블록"를 수집해야합니다.
Tags: Major feature enhancements
A DELETE_CACHE function to delete files older than the expire time. A file extension to cache: for example, now a cache file name will be md5name.ft. This was necessary because of DELETE_CACHE. An include block that includes another template using a statement (like SSI do) &lt;!--#include file=&quot;include2.html&quot;--&gt;. It is useful if you have several different templates for different parts of a page, and you dont need to write any PHP code to gather all "blocks" of the page.

2005-02-16 15:21
1.2.0

FastTemplate : : parse_and_return ($ template_name) 메서드가 추가되었습니다. FastTemplate : : 추가되었습니다 어떤 루트 템플릿을 반환 해줄 () 메소드, get_root. 코멘트 템플릿에 대한 지원이 추가되었습니다. 서포트 인라인 동적 블록이 추가되었습니다. 지원에 액세스하는 개체를 사용하여 필드를 얻을 () 또는 getId에서 () 메소드를 템플릿에 추가되었습니다. FastTemplate : : 현재 배열의 이름을 지원하고, () 메소드를 정의하고 매개 변수로 값. FastTemplate : : ($ 배열, $ 열쇠) assign_from_array 추가되었습니다. 템플릿 변수와 동일한 이름과 연관된 배열에서 할당됩니다.
Tags: Major feature enhancements
The FastTemplate::parse_and_return($template_name)
method was added. The FastTemplate::get_root()
method, which returns the root template dir, was
added. Support for template comments was added.
Support for inline dynamic blocks was added.
Support for accessing object fields using get() or
getId() methods from templates was added. The
FastTemplate::define() method now supports array,
name, and value as parameters.
FastTemplate::assign_from_array($array, $keys) was
added. Template variables are assigned from the
associated array with the same name.

Project Resources