0

module php filter drupal 7

cách xây dựng module cho Drupal và các vấn đề liên quan

cách xây dựng module cho Drupal và các vấn đề liên quan

Công nghệ thông tin

... 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 đó...
  • 57
  • 1,332
  • 7
drupal  7  module  development

drupal 7 module development

Kỹ thuật lập trình

... 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 182Chapter 7: Creating ... System 11 Drupal architecture 11 Drupal core libraries 13 Drupal hooks 13 Drupal core modules 14The database 15The theme system 16 Drupal& apos;s major subsystems 16Themes 16Menus 17 Nodes 17 Files...
  • 420
  • 2,384
  • 0
Lập trình PHP   module 1   TTTH DH KHTN

Lập trình PHP module 1 TTTH DH KHTN

Kỹ thuật lập trình

... trình viên mã nguồn mở PHPModule 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ở PHPModule 1 Bn quyn ... trình viên mã nguồn mở PHPModule 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ở PHPModule 1 Bn quyn ... trình viên mã nguồn mở PHPModule 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ở PHPModule 1 Bn quyn...
  • 100
  • 505
  • 0
Lập trình PHP   module 2   TTTH DH KHTN

Lập trình PHP module 2 TTTH DH KHTN

Kỹ thuật lập trình

... Trang 27 Lập trình viên mã nguồn mở PHPModule 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ở PHPModule ... trình viên mã nguồn mở PHPModule 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ở PHPModule 2 Bn quyn ... trình viên mã nguồn mở PHPModule 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ở PHPModule 2 Bn quyn...
  • 101
  • 433
  • 0
Lập trình PHP   module 3   TTTH DH KHTN

Lập trình PHP module 3 TTTH DH KHTN

Kỹ thuật lập trình

... 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ở PHPModule 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ở PHPModule 3 Bn quyn ... trình viên mã nguồn mở PHPModule 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ở PHPModule 3 Bn quyn...
  • 134
  • 359
  • 0
LẬP TRÌNH VIÊN MÃ NGUỒN MỞ PHP Module 4

LẬP TRÌNH VIÊN MÃ NGUỒN MỞ PHP Module 4

Kỹ thuật lập trình

... trình viên mã nguồn mở PHPModule 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ở PHPModule 4 Bn quyn ... trình viên mã nguồn mở PHPModule 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ở PHPModule 4 Bn quyn ... trình viên mã nguồn mở PHPModule 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ở PHPModule 4 Bn quyn...
  • 111
  • 347
  • 1
Drupal 7 Module Development doc

Drupal 7 Module Development doc

Quản trị mạng

... 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 182Chapter 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 380Summary 381Index 383Simpo...
  • 370
  • 416
  • 0
Drupal 7 Module Development phần 1 pdf

Drupal 7 Module Development phần 1 pdf

Quản trị mạng

... 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 182Chapter 7: Creating ... First Module 25Our goal: a module with a block 25Creating a new module 26 Module names 27 Where does our module go? 27 Creating the module directory 29Writing the .info file 29Creating 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,...
  • 42
  • 397
  • 0
Drupal 7 Module Development phần 2 pptx

Drupal 7 Module Development phần 2 pptx

Quản trị mạng

... 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 ... testTests 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 ofcial 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,...
  • 41
  • 399
  • 0
Drupal 7 Module Development phần 3 potx

Drupal 7 Module Development phần 3 potx

Quản trị mạng

... 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....
  • 41
  • 450
  • 0
Drupal 7 Module Development phần 4 doc

Drupal 7 Module Development phần 4 doc

Quản trị mạng

... 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 dened by the site settings. Module- specic settings should always be present under admin/config. Drupal 7 offers ... the form elements dened 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...
  • 41
  • 350
  • 0
Drupal 7 Module Development phần 5 doc

Drupal 7 Module Development phần 5 doc

Quản trị mạng

... 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 callbackThe ... all pages. Fortunately PHP provides a way to load class denitions 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...
  • 41
  • 586
  • 0

Xem thêm