SHARE
TWEET

Untitled

a guest Feb 19th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. foreach ($this->get("DB")->result as $ct){
  2. $contentTexts[$ct["langCode"]][$ct["wordCode"]] = $ct["wordText"]; //$contentTexts is a two dimensional array
  3. }
  4.    
  5. $this->set("contentTexts",$contentTexts); // $contentTexts is an array described above
  6. $this->set("lwMetaTitle",$content->lwMetaTitle);
  7.    
  8. <F3:repeat group="{{@contentTexts} }" key="{{@langCode}}" value="{{@ctext}}" counter="{{@counter}}">
  9.  
  10. {{@ctext[@lwMetaTitle]}}
  11.  
  12. </F3:repeat>
  13.    
  14. {{@ctext[@lwMetaTitle]}}
  15.    
  16. {{var_dump(@ctext[@lwMetaTitle])}}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top