<?php
class PageClass_Controller extends Page_Controller {
/**
* pass in key name to brand config associative array
* and return its value
*
* @param string $key name of key in array
* @return string value from array
*/
public function getArrayValue($key){
// get array
$Config = $this->getConfig();
if( array_key_exists($key, $this->getBrandConfig() ) )
return $brandConfig[$key];
}
}
?>
# template.ss
$getArrayValue(keyname)