示例#1
0
 /** {@inheritDoc} */
 public function outputArray(array $array, $count = false)
 {
     if ($this->getProperty('addall')) {
         $array = array_merge_recursive(array(array('name' => $this->modx->lexicon('gl_all'), 'value' => '')), $array);
     }
     return parent::outputArray($array, $count);
 }
示例#2
0
 /** {@inheritDoc} */
 public function outputArray(array $array, $count = false)
 {
     //		if ($this->getProperty('addall')) {
     //			$array = array_merge_recursive(array(array(
     //				'name' => $this->modx->lexicon('mlmsystem_all'),
     //				'value' => ''
     //			)), $array);
     //		}
     return parent::outputArray($array, $count);
 }