Advertisement
shelob9

Untitled

Jul 24th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. namespace josh\api\routes;
  2.  
  3. final class shoes extends product {
  4.  
  5. /**
  6. * @inheritdoc
  7. */
  8. public function request_args(){
  9. $args = parent::request_args();
  10. unset( $args[ 'type' ] );
  11. return $args;
  12. }
  13.  
  14. /**
  15. * @inheritdoc
  16. */
  17. protected function query_args( $type = '', $page = 1 ) {
  18. return parent::query_args( 'shoes', $page );
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement