We Recommend

An Introduction to R An Introduction to R
This tutorial manual provides a comprehensive introduction to R, a software package for statistical computing and graphics. R supports a wide range of statistical techniques, and is easily extensible via user-defined functions written in its own language, or using dynamically loaded modules written in C, C++ or Fortran. One of R's strengths is the ease with which well-designed publication-quality plots can be produced.


Posted By

jpdamen on 12/21/07


Tagged

php textmate typoscript arrays associative


Versions (?)


php define typoscript from array of associative arrays


Published in: R 


  1. //build CONTENT objects
  2. foreach ($items as $item) {
  3.  
  4. $newItem = ($x+1)*10;
  5. $conf['10.'][$newItem] = 'CONTENT';
  6. $conf['10.'][$newItem.'.'] = $dummyItem;
  7. $conf['10.'][$newItem.'.']['select.']['uidInList'] = $item['uid'];
  8. $conf['10.'][$newItem.'.']['select.']['pidInList'] = $item['pid'];
  9. if($item['lock']) {$conf['10.'][$newItem.'.']['renderObj.']['stdWrap.']['dataWrap'] = $lConf['lockItemWrap'];} // special wrap to make item non-draggable and for providing custom CSS
  10. $x++;
  11.  
  12. }

Report this snippet 

You need to login to post a comment.