PHP 클래스 QForm, qcodo

有关 QForm 类的详细使用,请参考开发者手册的相关章节。
저자: YuLei Liao ([email protected])
상속: extends QForm_Group
파일 보기 프로젝트 열기: qcodo/qcodo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$EncryptionKey If you wish to encrypt the resulting formstate data to be put on the form (via QCryptography), please specify a key to use. The default cipher and encrypt mode on QCryptography will be used, and because the resulting encrypted data will be sent via HTTP POST, it will be Base64 encoded.
$FormStateHandler The QFormStateHandler to use to handle the actual serialized form. By default, QFormStateHandler will be used (which simply outputs the entire serialized form data stream to the form), but file- and session- based, or any custom db- based FormState handling can be used as well.

보호된 프로퍼티들

프로퍼티 타입 설명
$strIgnoreJavaScriptFileArray array Feel free to add the filename of any JS files, relative to __JS_ASSETS__, that you want Qcodo to ignore because you have already explicilty placed them on the page using HTML on the HTML page, then you need to add "foo.js" to this IgnoreJavaScriptFileArray so that Qcodo doesn't try and also load "foo.js" for you. NOTE: In production or as a performance tweak, you may want to use the compressed "_qc_packed.js" library (which is a compressed, single file version of ALL the qcodo .js files that is in _core). If you want to do this, MAKE SURE you FIRST MANUALLY do a on the HTML page, then you need to add "foo.js" to this IgnoreJavaScriptFileArray so that Qcodo doesn't try and also load "foo.js" for you. NOTE: In production or as a performance tweak, you may want to use the compressed "_qc_packed.js" library (which is a compressed, single file version of ALL the qcodo .js files that is in _core). If you want to do this, MAKE SURE you FIRST MANUALLY do a