18.10.2016 Views

Drupal 7 Module Development

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

evision handling 175<br />

revisions<br />

handling 175<br />

rightJoin() method 366<br />

Right To Left languages. See RTL languages<br />

role access module<br />

{node_access} table, rebuilding 273, 274<br />

creating 266<br />

hook_node_access_records(), using 266-268<br />

hook_node_grants(), using 269, 270<br />

security considerations 271, 272<br />

roles<br />

about 211<br />

creating 228<br />

RTL languages<br />

about 103<br />

stylesheets, creating for 104-106<br />

S<br />

Schema API<br />

about 152<br />

URL 154<br />

working 153, 154<br />

Search module<br />

about 217<br />

example 217<br />

Secure Permissions module 227<br />

security<br />

about 375<br />

vulnerabilities 376<br />

SELECT queries 364<br />

settings property 186<br />

setUp() method 54<br />

simple test 49<br />

single-value formatters 200<br />

single_blog_block_view() function 97<br />

editing 100<br />

single_blog_list() function 95<br />

single_blog module<br />

API, providing 95, 96<br />

building 93-95<br />

slave server 373<br />

source code standards<br />

processor instruction 35<br />

about 35<br />

comments 35<br />

functions 35<br />

indenting 35<br />

spaces around operators 35<br />

spacing, in control structures 35<br />

variables 35<br />

SQL injection<br />

about 378<br />

avoiding 378<br />

st() function 351<br />

static queries 364<br />

store.info file 346<br />

stream_mkdir() function 321<br />

stream_open() function 323<br />

stream_write() function 321<br />

stream wrapper<br />

about 313, 319<br />

creating 320-323<br />

stylesheets<br />

attaching, to render arrays 102<br />

creating, for RTL languages 104-106<br />

submit function 136<br />

subsystems, <strong>Drupal</strong><br />

blocks 20<br />

code testing 20<br />

comments 18<br />

entities 19<br />

fields 19<br />

files 18<br />

Forms API 19<br />

menus 17<br />

nodes 17<br />

themes 16<br />

users 18<br />

system_element_info() function 101<br />

system_settings_form() function 138, 139<br />

T<br />

t() function<br />

about 39, 97, 201, 351<br />

features 40, 41<br />

table, theme hook 93<br />

task<br />

about 348<br />

altering 354, 355<br />

creating 349-353<br />

[ 392 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!