User Tools

Site Tools


dr:api_sequences

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dr:api_sequences [2005/10/23 16:17] – layout fgmdr:api_sequences [2020/11/23 17:23] (current) – external edit 127.0.0.1
Line 7: Line 7:
  
 ===== Table of hook calls seen by a module ===== ===== Table of hook calls seen by a module =====
 +
 <html> <html>
 +
 <style type="text/css"> <style type="text/css">
   body { font-size:small }   body { font-size:small }
Line 16: Line 18:
 <table cellspacing="0" cellpadding="0" border="1"> <table cellspacing="0" cellpadding="0" border="1">
   <tr>   <tr>
-    <th>Sequence of hooks fired</th>+    <th><span class="search_hit">Sequence</span> of <span class="search_hit">hooks</span> fired</th>
     <th>1: New</th>     <th>1: New</th>
     <th width="119">2: Preview</th>     <th width="119">2: Preview</th>
Line 118: Line 120:
     <td>&nbsp;</td>     <td>&nbsp;</td>
     <td>no uid<br>     <td>no uid<br>
-      name</td>+      name of node owner</td>
     <td>&nbsp;</td>     <td>&nbsp;</td>
   </tr>   </tr>
Line 288: Line 290:
   </tr>   </tr>
   <tr>   <tr>
-    <th scope="row">hook_name</th>+    <th scope="row">hook_node_name</th>
     <td>X</td>     <td>X</td>
     <td>X</td>     <td>X</td>
Line 332: Line 334:
   </tr>   </tr>
 </table> </table>
 +
 </html> </html>
  
 ===== Notes ===== ===== Notes =====
-The difference between &quot;modules fields&quot; and &quot;loaded object&quot; occurs if the module defines the additional fields it handles as fields as wrapped in an object [[http://blog.riff.org/index.php/2005/10/10/29-drupal-tips-hook_load-and-data-isolation|elswehere]] 
  
-  &quot;Module fields&quot; is just a set of array entries made available, intermixed with the builtin array entries +The difference between 'modules fields' and 'loaded object' occurs if the module defines the additional fields it handles as fields as wrapped in an object [[http://blog.riff.org/index.php/2005/10/10/29-drupal-tips-hook_load-and-data-isolation|elswehere]] 
-  * &quot;loaded object&quot; referes the same, but when they are returned by core as the wrapper object.+ 
 +  "Module fieldsis just a set of array entries made available, intermixed with the builtin array entries 
 +  * "Loaded object" refers the same, but when they are returned by core as the wrapper object.
  
 Basically, modules fields are returned from a HTML form, whereas a loaded object comes from the DB. Basically, modules fields are returned from a HTML form, whereas a loaded object comes from the DB.
Line 345: Line 349:
  
 Similarly, any call to [[http://drupaldocs.org/api/head/function/l|l()]] causes [[http://drupaldocs.org/api/head/function/hook_link|hook_link]] to be fired too. Similarly, any call to [[http://drupaldocs.org/api/head/function/l|l()]] causes [[http://drupaldocs.org/api/head/function/hook_link|hook_link]] to be fired too.
- 
dr/api_sequences.1130084230.txt.gz · Last modified: 2020/11/23 17:23 (external edit)