Subversion Repositories oidplus

Rev

Rev 261 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 261 Rev 277
Line 15... Line 15...
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
 * See the License for the specific language governing permissions and
16
 * See the License for the specific language governing permissions and
17
 * limitations under the License.
17
 * limitations under the License.
18
 */
18
 */
19
 
19
 
20
if (!defined('IN_OIDPLUS')) die();
-
 
21
 
-
 
22
class OIDplusObjectTypePluginDoi extends OIDplusObjectTypePlugin {
-
 
23
 
-
 
24
        public static function getPluginInformation() {
-
 
25
                $out = array();
-
 
26
                $out['name'] = 'Digital Object Identifier (DOI)';
-
 
27
                $out['author'] = 'ViaThinkSoft';
-
 
28
                $out['version'] = null;
-
 
29
                $out['descriptionHTML'] = null;
-
 
30
                return $out;
-
 
31
        }
-
 
32
 
-
 
33
        public static function getObjectTypeClassName() {
-
 
34
                return 'OIDplusDoi';
-
 
35
        }
-
 
36
 
-
 
37
}
-
 
38
 
-
 
39
class OIDplusDoi extends OIDplusObject {
20
class OIDplusDoi extends OIDplusObject {
40
        private $doi;
21
        private $doi;
41
 
22
 
42
        public function __construct($doi) {
23
        public function __construct($doi) {
43
                // TODO: syntax checks
24
                // TODO: syntax checks