插件目录

变更集1515844


忽略:
时间戳:
2016年10月16日上午10:37:48(8年(之前)
作者:
AeonOfTime公司
消息:
  • 修复了一个奇怪的PHP错误,由于无法解释的原因,该错误与方法名有关
  • 增加订单和列的装运质量
地点:
eve-shipinfo/trunk/classes/EVEShipInfo
文件:
7已编辑

图例:

未修改
补充
远离的
  • eve-shipinfo/trunk/classes/EVEShipInfo/Collection/Filter.php

    1515807兰特 1515844兰特  
    7777公共函数orderByLauncherSlots($ascending=true){return$this->setOrderBy('launchers',$ascensing);}
    7878公共函数orderByTechLevel($ascenting=true){return$this->setOrderBy('techlevel',$ascending);}
     79公共函数orderByMass($ascenting=true){return$this->setOrderBy('mass',$ascensing);}
    7980   
    8081公共函数secondOrderByGroup(){return$this->setSecondOrderBy('group');}
     
    9293公共函数secondOrderByLauncherSlots(){return$this->setSecondOrderBy('launchers');}
    9394公共函数secondOrderByTechLevel(){return$this->setSecondOrderBy('techlevel');}
     95公共函数secondOrderByMass(){return$this->setSecondOrderBy('mass');}
    9496   
    9597公共函数setOrderBy($field,$ascending=true)
     
    612614“炮塔”=>__(“炮塔插槽”,“eve-shipinfo”),
    613615“启动器”=>__(“启动器插槽”,“eve-shipinfo”),
    614 'techlevel'=>__('Tech level','eve-shipinfo')
     616“techlevel”=>__(“Tech level”,“eve-shipinfo”),
     617“质量”=>__(“质量”,“eve-shipinfo”)
    615618            );
    616619        }
     
    736739断裂;
    737740               
     741案例“质量”:
     742$aVal=$a->getMass();
     743$bVal=$b->getMass();
     744断裂;
     745               
    738746案例“名称”:
    739747默认值:
  • eve-shipinfo/trunk/classes/EVEShipInfo/Collection/List.php

    1296717元 1515844兰特  
    3838“启动器”=>__(“启动器插槽”,“eve-shipinfo”),
    3939“速度”=>__(“最大速度”,“eve-shipinfo”),
    40 “技术水平”=>__(“技术水平”,“发货前信息”)
     40“techlevel”=>__(“Tech level”,“eve-shipinfo”),
     41“质量”=>__(“质量”,“eve-shipinfo”)
    4142        );
    4243    }
     
    195196    }
    196197   
     198受保护函数renderColumn_mass(EVEShipInfo_Collection_Ship$Ship)
     199    {
     200return$ship->getMass($this->showUnits);
     201    }
     202   
    197203受保护函数renderColumn_warpspeed(EVEShipInfo_Collection_Ship$Ship)
    198204    {
  • eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode.php

    1512895元 1515844兰特  
    88受保护的$plugin;
    99   
    10 受保护的$attrib尤特s;
     10受保护的$attribs;
    1111   
    1212受保护的$content;
     
    4242        }
    4343       
    44 $this->属性尤特s=shortcode_atts($this->getDefaultAttributes(),$attributes);
     44$this->属性s=shortcode_atts($this->getDefaultAttributes(),$attributes);
    4545$this->content=$content;
    4646
    4747尝试
    4848        {
    49 $此->过程();
     49$此->render短代码();
    5050        }
    5151catch(EVEShipInfo_Exception$e)
     
    5757    }
    5858   
     59抽象保护函数renderShortcode();
     60   
     61   
    5962受保护函数getAttribute($name,$default=null)
    6063    {
    61 if(isset($this->attrib尤特s[$name])){
    62 返回$this->attrib尤特s[$name];
     64if(isset($this->attribs[$name])){
     65返回$this->attribs[$name];
    6366        }
    6467       
     
    7477return admin_url('admin.php?page=eveshipinfo_shortcodes&shortcode='.$this->getID());
    7578    }
    76    
    77 抽象保护函数process();
    7879   
    7980抽象公共函数getName();
  • eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/EFTFit.php

    1296717元 1515844兰特  
    2525    }
    2626   
    27 第页公共职能流程()
     27第页受保护的函数renderShortcode()
    2828    {
    2929$fitID=$this->getAttribute('id');
  • eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/Gallery.php

    1296717元 1515844兰特  
    7474    }
    7575   
    76 第页公共的函数进程()
     76第页受保护的函数处理()
    7777    {
    7878$galleryFolder=$this->plugin->getGalleryPath();
     
    8484//我们不使用此属性,但必须删除它才能
    8585//确保共享列表配置方法没有使用它。
    86 $this->属性尤特s['show']='';
     86$this->属性s['show']='';
    8787       
    8888父级::process();
  • eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/shipinfo.php

    1296717元 1515844兰特  
    1818    }
    1919   
    20 第页公共职能流程()
     20第页受保护的函数renderShortcode()
    2121    {
    2222$name=$this->getAttribute('name');
  • eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/ShipList.php

    1515807兰特 1515844兰特  
    2323受保护的$filter;
    2424   
    25 第页公共职能流程()
     25第页受保护的函数renderShortcode()
    2626    {
    2727//此列表被禁用了吗?
     
    7373'techlevel'=>'',
    7474“船”=>“”,
    75 “质量”=>“”
     75“质量”=>“”,
    7676        );
    7777    }
     
    444444    {
    445445$this->filter->setOrderBy($this->getAttribute('order_by'),$this->isAscending());
    446        
     446
    447447$show=$this->getAttribute('show');
    448448if(is_numeric($show)){
注:请参见TracChangeset(跟踪变更集)以获取有关使用变更集查看器的帮助。