$attributes = Array (' a ' = = ' B ', ' c ' = ' d '); $attr = Drupal_attributes ($attributes); DPM ($ATTR);
A= "B" c= "D"
$attributes = Array (' a ' = = ' B ', ' c ' = ' d '); $attr = Drupal_http_header_attributes ($attributes); DPM ($ATTR);
A= "B"; C= "D"
Global $language _url; DPM ($language _url);
BOOL is_scalar ( mixed $var )
If the given variable parameter var is a scalar,is_scalar () returns TRUE , otherwise returns FALSE .
Scalar variables are variables that contain an integer,float,string, or Boolean, while array, object,and resource are not scalars.
$path = drupal_get_filename (' theme ', ' Qps_custom_kit ');dp m ($path);
Blank.....
$elements = Array ( ' #type ' + = ' html_tag ', ' #tag ' = ' meta ', ' #attributes ' = = Array ( ' name ' = > ' to fight ', ' content ' = ' Drupal ', ' ) ; Drupal_add_html_head ($elements, ' QQ ');//This way you can add new head ...
Common.inc Drupal