token

Code

  1. /**
  2.  * The point of this code is so that I can make an array of objects and can easily output a string representation of each object but retain the full data.
  3.  *
  4.  * For example:
  5.  * $terms = taxono

RDF in core idea

  1. <?php
  2.  
  3. /**
  4.  * Implementation of hook_rdf_schema().
  5.  */
  6. function node_rdf_schema() {
  7.   $rdf = array();
  8.   $rdf['node'] = array(
  9.     'label' => t('content'),
  10.     'class' => 'sioc:post'
  11.   );

Fix for token

  1. <?php
  2.  
  3. /**
  4.  * Implementation of hook_token_list().
  5.  */
  6. function token_vocab_token_list($type = 'all'){
  7.   $tokens = array();

Fix for token

  1. <?php
  2.  
  3. /**
  4.  * Implementation of hook_token_list().
  5.  */
  6. function token_vocab_token_list($type = 'all'){
  7.   $tokens = array();

token

  1. <?php
  2.  
  3. /**
  4.  * Implementation of hook_token_list().
  5.  */
  6. function token_vocab_token_list($type = 'all'){
  7.   $tokens = array();
Syndicate content