Example #1
0
 public static function use_boundable_styles()
 {
     $apf = APF::get_instance()->get_request();
     $path = apf_classname_to_path(__CLASS__);
     $pageType = $apf->get_attribute('pageType');
     $style = array($path . 'HouseManageV2.css');
     return array_merge(parent::use_boundable_styles(), $style);
 }
Example #2
0
 public static function use_boundable_styles()
 {
     //todo 单独资源加载的时候没有设置对应controller的变量,下面的实现无效
     $apf = APF::get_instance();
     $request = $apf->get_request();
     $attributes = $request->get_attributes();
     switch ($attributes['business']) {
         case 'ajk':
             $path = apf_classname_to_path(__CLASS__);
             return array_merge(parent::use_boundable_styles(), array($path . 'ManageAjk.css'));
             break;
         case 'hz':
             $path = apf_classname_to_path(__CLASS__);
             return array_merge(parent::use_boundable_styles(), array($path . 'ManageHz.css'));
             break;
         case 'jp':
             $path = apf_classname_to_path(__CLASS__);
             return array_merge(parent::use_boundable_styles(), array($path . 'ManageJp.css'));
             break;
         default:
             return false;
     }
 }
Example #3
0
 public static function use_boundable_styles()
 {
     $path = apf_classname_to_path(__CLASS__);
     return array_merge(parent::use_boundable_styles(), array($path . 'Hammer.css'));
 }
Example #4
0
 public static function use_boundable_styles()
 {
     $path = apf_classname_to_path(__CLASS__);
     return array_merge(parent::use_boundable_styles(), array($path . 'PhotoCommit.css', $path . "AbstractCommunity.css"));
 }
 public static function use_boundable_styles()
 {
     $path = apf_classname_to_path(__CLASS__);
     return array_merge(parent::use_boundable_styles(), array($path . "BaseSub.css", $path . "CommunityApplyGardeners.css"));
 }
 public static function use_boundable_styles()
 {
     $path = apf_classname_to_path(__CLASS__);
     $style = array($path . 'HouseManageAjkV2.css');
     return array_merge(parent::use_boundable_styles(), $style);
 }
Example #7
0
 public static function use_boundable_styles()
 {
     $path = apf_classname_to_path(__CLASS__);
     $request = APF::get_instance()->get_request();
     $pageType = $request->get_attribute('pageType');
     $style = array($path . 'Proplist.css');
     if ($pageType == 'ajk') {
         $style = array($path . 'ProplistAjk.css');
     }
     return array_merge(parent::use_boundable_styles(), $style);
 }