TAILIEUCHUNG - Drupal 7 First Look phần 9

Kiểu trả về mặc định khác nhau tùy thuộc vào báo cáo, truy vấn được thực thi. Các tùy chọn bao gồm:tất cả các kết quả, do đó bạn có thể lặp lại và xử lý tất cả các kết quả. Đây là mặc định cho các truy vấn và báo cáo chọn. bị ảnh hưởng bởi truy vấn. Đây là mặc định cho báo cáo cập nhật và xóa. | Chapter 7 Download from Wow eBook New hooks Drupal 7 also introduces several new hooks that can be implemented by modules. Let s look at the signature of each new hook with a brief discussion of the use of that hook. hook_admin_paths hook_admin_paths This hook defines which paths defined by a module should be considered as administrative paths. A theme may display administrative paths differently. For example administrative paths can be displayed in the overlay or with a different theme. You should return an associative array with the path name as the key and the value TRUE for any path you want to be administrative. Paths can include wild cards. hook_admin_paths_alter hook_admin_paths_alter paths This hook allows you to modify which paths are defined as administrative paths for paths that are defined by other modules. An associative array of all existing paths is passed to this method and you can alter it as needed. hook_archiver_info hook_archiver_info This hook allows you to define classes that can combine and extract multiple files into a single file that can optionally be compressed. For example ZIP files and tar. gz files are both archive files that could be created with an archiver. To create an archiver class you must implement the Archiverinterface which is defined in the file in the includes directory. The return value for this hook is an associative array with the following keys class the class name of a class which implements the Archiverinterface extensions an array of file extensions that the class can handle weight allows you to influence which archiver should be used if more than one archiver can handle a specific extension 209 Drupal 7 for Developers hook_css_alter hook_css_alter css This hook allows you to modify which css files are rendered to the page. The css variable is an array of all files and inline CSS which will be output keyed based on the filename of the file to be included. Inline CSS will not have a key .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
31    236    0    18-04-2024
9    219    0    18-04-2024
19    228    0    18-04-2024
20    248    2    18-04-2024
10    155    0    18-04-2024
37    137    0    18-04-2024
10    115    0    18-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.