Exemplo n.º 1
0
 /**
  * Returns the current setting
  *
  * @return mixed array or string
  */
 public function get_setting()
 {
     $result = parent::get_setting();
     if ($result === null) {
         // this is necessary for settings upgrade
         return null;
     }
     if (empty($result)) {
         $result = array('$@NONE@$');
     }
     return $result;
 }
Exemplo n.º 2
0
 /**
  * Returns the current setting
  *
  * @return mixed array or string
  */
 public function get_setting()
 {
     $result = parent::get_setting();
     if (empty($result)) {
         $result = array('$@NONE@$');
     }
     return $result;
 }