AnonSec Team
Server IP : 103.11.96.170  /  Your IP : 18.118.207.114
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
User : elibrary.unsap.ac.id ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  D:/localhost/elibrary/lib/marc/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : D:/localhost/elibrary/lib/marc/Field.inc.php
<?php
# @Author: Waris Agung Widodo <user>
# @Date:   2017-09-19T16:02:58+07:00
# @Email:  ido.alit@gmail.com
# @Filename: Field.inc.php
# @Last modified by:   user
# @Last modified time: 2017-09-19T18:04:37+07:00



namespace Marc;

class Field
{

  protected $tag;

  function __construct($tag, $subfield = null, $indicator1 = null, $indicator2 = null)
  {
    $this->tag = $tag;

    if (!preg_match("/^[0-9A-Za-z]{3}$/", $tag)) {
      die("Invalid Tag: '{$tag}'");
    }
  }

  public function getTag()
  {
    return (string)$this->tag;
  }
}

AnonSec - 2021