Open Journal Systems
3.3.0
Type.php
1
<?php
2
/*
3
* citeproc-php
4
*
5
* @link http://github.com/seboettg/citeproc-php for the source repository
6
* @copyright Copyright (c) 2016 Sebastian Böttger.
7
* @license https://opensource.org/licenses/MIT
8
*/
9
10
namespace
Seboettg\CiteProc\Constraint
;
11
12
use stdClass;
13
21
class
Type
extends
AbstractConstraint
22
{
23
29
protected
function
matchForVariable
($variable, $data)
30
{
31
return
in_array($data->type, $this->conditionVariables);
32
}
33
}
Seboettg\CiteProc\Constraint\AbstractConstraint
Definition:
AbstractConstraint.php:17
Seboettg\CiteProc\Constraint\Type\matchForVariable
matchForVariable($variable, $data)
Definition:
Type.php:29
Seboettg\CiteProc\Constraint
Definition:
AbstractConstraint.php:8
Seboettg\CiteProc\Constraint\Type
Definition:
Type.php:21
plugins
generic
citationStyleLanguage
lib
vendor
seboettg
citeproc-php
src
Constraint
Type.php
Generated on Fri Aug 28 2020 14:53:49 for Open Journal Systems by
1.8.17