has_many many_to_many进行分页问题

浏览:662 发布日期:2014/06/19 分类:求助交流 关键字: 分页 MANY_TO_MANY
我通过MANY_TO_MANY得到数组,我想对article使用分页类,该如何操作呢?[0] => Array
        (
            [id] => 11858
            [symbol] => Rac1
            [acticle_count] => 5686
            [more_three_count] => 1284
            [is_active] => 
            [mgi] => MGI:97845
            [name] => RAS-related C3 botulinum substrate 1
            [article] => Array
                (
                    [0] => Array
                        (
                            [id] => 511106
                            [title] => Extracellular matrix stiffness and composition jointly regulate the induction of malignant phenotypes in mammary epithelium.
                            [url] => /pubmed/24930031
                        )

                    [1] => Array
                        (
                            [id] => 511107
                            [title] => Signalling: REX rules.
                            [url] => /pubmed/21322294
                        )

                    [2] => Array
                        (
                            [id] => 511108
                            [title] => Apoptotic cell clearance by bronchial epithelial cells critically influences airway inflammation.
                            [url] => /pubmed/23235830
                        )

                    [3] => Array
                        (
                            [id] => 511109
                            [title] => Phosphatidylserine receptor BAI1 and apoptotic cells as new promoters of myoblast fusion.
                            [url] => /pubmed/23615608
                        )
最佳答案
评论() 相关
后面还有条评论,点击查看>>