English subtitles

← Querying Links - Web Development

Get Embed Code
4 Languages

Showing Revision 7 created 09/10/2013 by janet dragojevic.

  1. Here we are in the file we've been working in this entire lecture.
  2. This has our class link.
  3. That just has the basic properties,
  4. and then 25 instances of that class that we've been scanning and searching over.
  5. What I'd like you to do--this doesn't involve any SQL--
  6. is implement this function link by ID.
  7. That takes a link ID and will return
  8. the link object itself.
  9. So for example, if I gave it 24,
  10. it would return this entire link object.
  11. Use the global variable links to find this.
  12. Okay, good luck.