Proposal for "File_MARC"

» Metadata » Status
  • Category: File Formats
  • Proposer: Dan Scott 
  • License: LGPL
» Description
» Dependencies » Links
  • PHP 5.1
  • PEAR_Exception
  • Structures_LinkedList
» Timeline » Changelog
  • First Draft: 2006-09-03
  • Proposal: 2006-09-03
  • Call for Votes: 2006-10-20
  • Voting Extended: 2006-10-27
  • Dan Scott
    [2006-09-16 05:10 UTC]

    • Work towards a more consistent API (delete getAllSubfields)
    • Make PCRE expressions in getFields() and deleteFields() optional.
    • Make duplicate() actually return a deep copy of a record.
    • Stronger, better, faster (now with typehints)
    • Iterate with foreach() everywhere now
    • Adjust to use appendNode, insertNode, prependNode from Structures_Linked_List (although similar change still needs to be made here)
  • Dan Scott
    [2006-09-16 23:23 UTC]

    0.0.6-alpha

    • Remove package globals, define class constants & static vars instead (thanks Christian)
    • Change addField/Subfield() to append..(), prepend...(), and insert...()
    • Fix reference usage
  • Dan Scott
    [2006-09-19 17:19 UTC]

    • Enable useful key=>value foreach*() iteration for fields and subfields
    • Adjust to Structures_LinkedList name changes
    • Move most globals and constants into class scope
  • Dan Scott
    [2006-09-23 03:57 UTC]

    Switch to PEAR_Exception for error-handling

  • Dan Scott
    [2006-10-17 04:17 UTC]

    • Separate getFields() from getField(), getSubfields() from getSubfield()

    to avoid forcing users to test is_array() after every call

    • Add addWarnings() / getWarnings() to File_MARC_Record to avoid throwing an

    exception for a non-fatal error

    • Fix examples, touch up phpdoc in preparation for call for votes