Get Smarty

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Check reviews of PHP Web Hosting, compatible with Smarty Templates

register_compiler_function()

register_compiler_function() -- secara dinamis meregistrasi plugins fungsi kompilator

Deskripsi

bool register_compiler_function ( string name, mixed impl, bool cacheable)

Mengirimkan nama fungsi kompilator, diikuti oleh fungsi PHP yang mengimplementasikannya.

Fungsi-php callback function dapat berupa:

  • String yang berisi nama fungsi

  • Sebuah array dalam bentuk array(&$object, $method) dengan &$object menjadi referensi ke sebuah obyek dan $method menjadi string yang berisi nama-metode

  • Sebuah array dalam bentuk array($class, $method) dengan $class menjadi nama kelas dan $method menjadi metode kelas.

cacheable dapat diabaikan. Lihat mengontrol output plugin yang dapat di-cache atas bagaimana untuk menggunakannya dengan benar.

Lihat juga unregister_compiler_function() dan seksi fungsi kompilator plugin.

Comments
No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Author:
Email: (not shown)
What is 12 plus 9? (Are you human?)

Sponsors [info]

Cheap Website Hosting @hostdone.com
email marketing @ActiveCampaign
broadband deals @BroadbandGenie
Best UK Web Hosting @webhost.uk.net
Reliable UK and US Web Hosting @rshosting.com
Cheap US and UK Web Hosting @infrenion.com
I.T Certification Exams @pass-guaranteed.com
Certification Practice Tests @firsttrycertify.com
Certification Practice Exam Questions @ace-it-certifications.com
Broadband Speed Test @broadbandspeed.co.uk
bulk email software @americaint.com
ASP.NET hosting @aspnethosting.co.uk