This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// demo-array | |
$arr_exampleArray = array( | |
'name' => 'fruits and vegetables', | |
'purpose' => 'demo and test only.', | |
'usage' => 'use, play and learn by changing.', | |
'fruits' => array( | |
'sower' => array( | |
'citron', | |
'gooseberry' | |
), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function do_something_recursive (array $arr_someArray) { | |
$result = array(); | |
foreach($arr_someArray as $key => $value) { | |
if(is_array($value)) { | |
$result[$key] = do_something_recursive (array $arr_someArray) | |
} else { | |
$result[$key] = 'Here the value '.$value.' can be used or manipulated.' | |
} | |
} | |
return $result; |
NewerOlder