Completed
Push — develop ( 18e071...685f84 )
by
unknown
08:14
created

JobboardSearchOptions::getPerPage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 3
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * YAWIK
4
 *
5
 * @filesource
6
 * @license MIT
7
 * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
 */
9
  
10
/** */
11
namespace Jobs\Options;
12
13
use Core\Options\FieldsetCustomizationOptions;
14
15
/**
16
 * ${CARET}
17
 * 
18
 * @author Carsten Bleek <[email protected]>
19
 */
20
class JobboardSearchOptions extends FieldsetCustomizationOptions
21
{
22
   protected $fields=[
23
       'q' => [
24
            'enabled' => true
25
        ],
26
        'l' => [
27
            'enabled' => true
28
        ],
29
        'd' => [
30
            'enabled' => true
31
        ],
32
        'c' => [
33
            'enabled' => true
34
        ],
35
        't' => [
36
            'enabled' => true,
37
        ]
38
    ];
39
40
    protected $perPage = 10;
41
42
43
    /**
44
     * @return int
45
     */
46
    public function getPerPage(){
47
        return $this->perPage;
48
    }
49
50
    /**
51
     * @param $perPage
52
     */
53
    public function setPerPage($perPage) {
54
        $this->perPage=$perPage;
55
    }
56
57
}