变更集1515844
时间戳: 2016年10月16日上午10:37:48 ( 8年 (之前) 地点: eve-shipinfo/trunk/classes/EVEShipInfo 文件: -
7已编辑
-
收集/过滤器.php (已修改) ( 4个差异 ) -
集合/列表.php (已修改) ( 2个差异 ) -
短代码.php (已修改) ( 4个差异 ) -
短代码/EFTFit.php (已修改) ( 1个差异 ) -
短代码/画廊.php (已修改) ( 2个差异 ) -
短代码/ShipInfo.php (已修改) ( 1个差异 ) -
短代码/ShipList.php (已修改) ( 3个差异 )
图例:
未修改 补充 远离的
-
eve-shipinfo/trunk/classes/EVEShipInfo/Collection/Filter.php 1515807兰特 1515844兰特 77 77 公共函数orderByLauncherSlots($ascending=true){return$this->setOrderBy('launchers',$ascensing);} 78 78 公共函数orderByTechLevel($ascenting=true){return$this->setOrderBy('techlevel',$ascending);} 79 公共函数orderByMass($ascenting=true){return$this->setOrderBy('mass',$ascensing);} 79 80 80 81 公共函数secondOrderByGroup(){return$this->setSecondOrderBy('group');} … … 92 93 公共函数secondOrderByLauncherSlots(){return$this->setSecondOrderBy('launchers');} 93 94 公共函数secondOrderByTechLevel(){return$this->setSecondOrderBy('techlevel');} 95 公共函数secondOrderByMass(){return$this->setSecondOrderBy('mass');} 94 96 95 97 公共函数setOrderBy($field,$ascending=true) … … 612 614 “炮塔”=>__(“炮塔插槽”,“eve-shipinfo”), 613 615 “启动器”=>__(“启动器插槽”,“eve-shipinfo”), 614 'techlevel'=>__('Tech level','eve-shipinfo') 616 “techlevel”=>__(“Tech level”,“eve-shipinfo”), 617 “质量”=>__(“质量”,“eve-shipinfo”) 615 618 ); 616 619 } … … 736 739 断裂; 737 740 741 案例“质量”: 742 $aVal=$a->getMass(); 743 $bVal=$b->getMass(); 744 断裂; 745 738 746 案例“名称”: 739 747 默认值: -
eve-shipinfo/trunk/classes/EVEShipInfo/Collection/List.php 1296717元 1515844兰特 38 38 “启动器”=>__(“启动器插槽”,“eve-shipinfo”), 39 39 “速度”=>__(“最大速度”,“eve-shipinfo”), 40 “技术水平”=>__(“技术水平”,“发货前信息”) 40 “techlevel”=>__(“Tech level”,“eve-shipinfo”), 41 “质量”=>__(“质量”,“eve-shipinfo”) 41 42 ); 42 43 } … … 195 196 } 196 197 198 受保护函数renderColumn_mass(EVEShipInfo_Collection_Ship$Ship) 199 { 200 return$ship->getMass($this->showUnits); 201 } 202 197 203 受保护函数renderColumn_warpspeed(EVEShipInfo_Collection_Ship$Ship) 198 204 { -
eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode.php 1512895元 1515844兰特 8 8 受保护的$plugin; 9 9 10 受保护的$attrib 尤特 s; 10 受保护的$attrib s; 11 11 12 12 受保护的$content; … … 42 42 } 43 43 44 $this->属性 尤特 s=shortcode_atts($this->getDefaultAttributes(),$attributes); 44 $this->属性 s=shortcode_atts($this->getDefaultAttributes(),$attributes); 45 45 $this->content=$content; 46 46 47 47 尝试 48 48 { 49 $此-> 过程 (); 49 $此-> render短代码 (); 50 50 } 51 51 catch(EVEShipInfo_Exception$e) … … 57 57 } 58 58 59 抽象保护函数renderShortcode(); 60 61 59 62 受保护函数getAttribute($name,$default=null) 60 63 { 61 if(isset($this->attrib 尤特 s[$name])){ 62 返回$this->attrib 尤特 s[$name]; 64 if(isset($this->attrib s[$name])){ 65 返回$this->attrib s[$name]; 63 66 } 64 67 … … 74 77 return admin_url('admin.php?page=eveshipinfo_shortcodes&;shortcode='.$this->getID()); 75 78 } 76 77 抽象保护函数process(); 78 79 79 80 抽象公共函数getName(); -
eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/EFTFit.php 1296717元 1515844兰特 25 25 } 26 26 27 第页 公共职能流程 () 27 第页 受保护的函数renderShortcode () 28 28 { 29 29 $fitID=$this->getAttribute('id'); -
eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/Gallery.php 1296717元 1515844兰特 74 74 } 75 75 76 第页 公共的 函数进程() 76 第页 受保护的 函数处理() 77 77 { 78 78 $galleryFolder=$this->plugin->getGalleryPath(); … … 84 84 //我们不使用此属性,但必须删除它才能 85 85 //确保共享列表配置方法没有使用它。 86 $this->属性 尤特 s['show']=''; 86 $this->属性 s['show']=''; 87 87 88 88 父级::process(); -
eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/shipinfo.php 1296717元 1515844兰特 18 18 } 19 19 20 第页 公共职能流程 () 20 第页 受保护的函数renderShortcode () 21 21 { 22 22 $name=$this->getAttribute('name'); -
eve-shipinfo/trunk/classes/EVEShipInfo/Shortcode/ShipList.php 1515807兰特 1515844兰特 23 23 受保护的$filter; 24 24 25 第页 公共职能流程 () 25 第页 受保护的函数renderShortcode () 26 26 { 27 27 //此列表被禁用了吗? … … 73 73 'techlevel'=>'', 74 74 “船”=>“”, 75 “质量”=>“” 75 “质量”=>“” , 76 76 ); 77 77 } … … 444 444 { 445 445 $this->filter->setOrderBy($this->getAttribute('order_by'),$this->isAscending()); 446 446 447 447 $show=$this->getAttribute('show'); 448 448 if(is_numeric($show)){