Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

9.14. Deleting Items

To remove an item (or more than one item) from the Canvas completely, use the deletemethod. It takes a list of tags or IDs to remove from the Canvas. It will delete all matches it finds for the tag names, so be careful you aren't deleting something you don't want to delete. Here is an example that uses three separate tag/IDs:

$canvas->delete("blue", "circle", $id_num);


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial