예제 #1
0
파일: modules.php 프로젝트: hanzubon/hm3
 public function process()
 {
     function smtp_compose_type_callback($val)
     {
         return $val;
     }
     process_site_setting('smtp_compose_type', $this, 'smtp_compose_type_callback');
 }
예제 #2
0
파일: modules.php 프로젝트: R-J/hm3
 public function process()
 {
     function unread_feed_setting_callback($val)
     {
         return $val;
     }
     process_site_setting('unread_exclude_feeds', $this, 'unread_feed_setting_callback', false, true);
 }
예제 #3
0
파일: handler_modules.php 프로젝트: R-J/hm3
 public function process()
 {
     function timezone_setting_callback($val)
     {
         if (in_array($val, timezone_identifiers_list(), true)) {
             return $val;
         }
         return false;
     }
     process_site_setting('timezone', $this, 'timezone_setting_callback');
 }