... trong tương lai. iv 1.6.2 Module Coder 16 Chương 2 - Xây dựng module cho Drupal 17 2.1 File .info và .module 17 2.1.1 File .info 17 2.1.2 File .module 19 2.2 Chú thích trong mã ... trong Drupal 30 2 .7 Form API 31 2 .7. 1 Quá trình thao tác với form 31 2 .7. 2 Một số thao tác cơ bản 34 2 .7. 2.1 Tạo form 34 2 .7. 2.2 Giao diện hoá form 35 2 .7. 2.3 Kiểm tra dữ liệu 35 2 .7. 2.4 ... .info, file .module được đặt tên theo quy tắc <modulename> .module , trong đó <modulename> là tên thư mục chứa module. Nội dung file .module bắt đầu bằng thẻ < ?php , sau đó...
Ngày tải lên: 13/04/2013, 10:00
Ngày tải lên: 24/04/2014, 17:26
drupal 7 module development
... queries 370 Delete queries 370 Merge queries 370 Advanced subjects 372 Transactions 372 Slave servers 373 Summary 374 Appendix B: Security 375 Thinking securely 375 Filtering versus escaping 376 Filtering ... artwork 1 67 Validation callback 170 Submit callback 171 Saving your artwork 172 Handling revisions 175 Viewing artworks 176 Editing an artwork 177 Deleting an artwork 178 Summary 182 Chapter 7: Creating ... System 11 Drupal architecture 11 Drupal core libraries 13 Drupal hooks 13 Drupal core modules 14 The database 15 The theme system 16 Drupal& apos;s major subsystems 16 Themes 16 Menus 17 Nodes 17 Files...
Ngày tải lên: 05/05/2014, 13:31
Lập trình PHP module 1 TTTH DH KHTN
... trình viên mã nguồn mở PHP – Module 1 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 47 Lập trình viên mã nguồn mở PHP – Module 1 Bn quyn ... trình viên mã nguồn mở PHP – Module 1 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 23 Lập trình viên mã nguồn mở PHP – Module 1 Bn quyn ... trình viên mã nguồn mở PHP – Module 1 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 32 Lập trình viên mã nguồn mở PHP – Module 1 Bn quyn...
Ngày tải lên: 19/06/2014, 16:45
Lập trình PHP module 2 TTTH DH KHTN
... Trang 27 Lập trình viên mã nguồn mở PHP – Module 2 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 10 Lập trình viên mã nguồn mở PHP – Module ... trình viên mã nguồn mở PHP – Module 2 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 17 Lập trình viên mã nguồn mở PHP – Module 2 Bn quyn ... trình viên mã nguồn mở PHP – Module 2 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 49 Lập trình viên mã nguồn mở PHP – Module 2 Bn quyn...
Ngày tải lên: 19/06/2014, 16:47
Lập trình PHP module 3 TTTH DH KHTN
... nhập dữ liệu 42 Bài 4 Kết hợp PHP & MySQL – Thư viện PDO 1 57 Bài 5 Kết hợp PHP & MySQL – Thư viện PDO 2 69 Bài 6 Hiển thị dữ liệu trên trang Web 80 Bài 7 PHP Email & Secure Email ... trình viên mã nguồn mở PHP – Module 3 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 47 Lập trình viên mã nguồn mở PHP – Module 3 Bn quyn ... trình viên mã nguồn mở PHP – Module 3 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 49 Lập trình viên mã nguồn mở PHP – Module 3 Bn quyn...
Ngày tải lên: 19/06/2014, 16:48
LẬP TRÌNH VIÊN MÃ NGUỒN MỞ PHP Module 4
... trình viên mã nguồn mở PHP – Module 4 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 29 Lập trình viên mã nguồn mở PHP – Module 4 Bn quyn ... trình viên mã nguồn mở PHP – Module 4 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 33 Lập trình viên mã nguồn mở PHP – Module 4 Bn quyn ... trình viên mã nguồn mở PHP – Module 4 Bn quyn â Trung Tõm Tin Hc - Đại Học Khoa Học Tự Nhiên | Xuất bản bởi ®Công GMC Trang 49 Lập trình viên mã nguồn mở PHP – Module 4 Bn quyn...
Ngày tải lên: 19/06/2014, 16:49
Drupal 7 Module Development doc
... queries 370 Delete queries 370 Merge queries 370 Advanced subjects 372 Transactions 372 Slave servers 373 Summary 374 Appendix B: Security 375 Thinking securely 375 Filtering versus escaping 376 Filtering ... artwork 1 67 Validation callback 170 Submit callback 171 Saving your artwork 172 Handling revisions 175 Viewing artworks 176 Editing an artwork 177 Deleting an artwork 178 Summary 182 Chapter 7: Creating ... securely 375 Filtering versus escaping 376 Filtering 377 Escaping HTML 377 SQL injection 378 Node access control 378 Handling insecure code 379 Staying up to date 380 Summary 381 Index 383 Simpo...
Ngày tải lên: 27/06/2014, 00:20
Drupal 7 Module Development phần 1 pdf
... artwork 1 67 Validation callback 170 Submit callback 171 Saving your artwork 172 Handling revisions 175 Viewing artworks 176 Editing an artwork 177 Deleting an artwork 178 Summary 182 Chapter 7: Creating ... First Module 25 Our goal: a module with a block 25 Creating a new module 26 Module names 27 Where does our module go? 27 Creating the module directory 29 Writing the .info file 29 Creating a module ... great code. Modules are plugins for Drupal that extend, build or enhance Drupal core functionality. In Drupal 7 Module development book, six professional Drupal developers use a practical,...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 2 pptx
... Creating Your First Module [ 32 ] The next directive is the core directive: core = 7. x. This simply declares which main-line version of Drupal is required by the module. All Drupal 7 modules will have ... test Tests should reside in their own le. Just as the module& apos;s main module code is in MODULENAME/MODULENAME .module, a test should be in MODULENAME/MODULENAME.test. The testing framework will automatically ... documented in the ofcial Drupal 7 API documentation, and even includes an example module: http://api .drupal. org/api /drupal/ developer examples block_example .module/ 7. To keep our example simple,...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 3 potx
... item_list theme hook. Drupal s Theme Layer [ 76 ] A similar problem troubled module developers in Drupal 6. It was impossible to call drupal_ add_css() or drupal_ add_js() in a MODULE_ preprocess_page() ... typical-hook.tpl .php: <div class="< ?php print $classes; ?>"< ?php print $attributes; ?>> < ?php if ($title): ?> <h2< ?php print $title_attributes; ?>> < ?php ... template_preprocesss_HOOK() 3. MODULE_ preprocess() 4. MODULE_ preprocess_HOOK() 5. THEME_preprocess() 6. THEME_preprocess_HOOK() 7. template_process() 8. template_processs_HOOK() 9. MODULE_ process() 10. MODULE_ process_HOOK() 11....
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 4 doc
... chapter. In Drupal 6, drupal_ get_form() returned a fully rendered HTML form. This has been changed in Drupal 7 in order to allow more exibility in theming and easier form manipulation. drupal_ get_form() ... it into Drupal& apos;s administrative interface and applies the admin theme dened by the site settings. Module- specic settings should always be present under admin/config. Drupal 7 offers ... the form elements dened by Drupal as well as the properties each one implements, visit: http://api .drupal. org/api /drupal/ developer topics forms_api_reference.html /7 '#type' => 'textfield', The...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 5 doc
... replacement. In Chapter 7, Creating New Fields, we will begin examining Drupal 7& apos;s new Field API, the core implementation of what was formerly the CCK module. Chapter 6 [ 171 ] Submit callback The ... all pages. Fortunately PHP provides a way to load class denitions on demand, and Drupal makes it very easy to expose classes to PHP& apos;s autoloader. Chapter 6 [ 179 ] 'access arguments' ... manipulation of the tables in Drupal& apos;s SQL database. First, let's create a new module called "artwork". Start with the artwork.info and artwork .module les, as we've seen...
Ngày tải lên: 14/08/2014, 11:20