Tạo mạng xã hội với PHP - part 14
lượt xem 6
download
Friends and Relationships addTag( 'previous', '' ); } else { $this-registry-getObject('template')-getPage()- addTag( 'first', "First page" ); $this-registry-getObject('template')-getPage()- addTag( 'previous', "getCurrentPage() - 2 ) . "'Previous page" ); } if( $pagination-isLast() ) { $this-registry-getObject('template')-getPage()- addTag( 'next', '' ); $this-registry-getObject('template')-getPage()- addTag( 'last', '' ); } else { $this-registry-getObject('template')-getPage()- addTag( 'first', "getCurrentPage() . "'Next page" ); $this-registry-getObject('template')-getPage()- addTag( 'previous', "getNumPages() - 1 ) . "'Last page" ); } } } To actually display the results of the lookup to the user, we need a template to form our members' list view. This is essentially a copy of the main template...
Bình luận(0) Đăng nhập để gửi bình luận!
CÓ THỂ BẠN MUỐN DOWNLOAD