Completed
Push — master ( 0db593...5f0535 )
by Jean-Christophe
01:58
created

CRUDFiles   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 1
cbo 0
dl 0
loc 15
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getViewIndex() 0 3 1
A getViewForm() 0 3 1
1
<?php
2
3
namespace Ubiquity\controllers\crud;
4
5
class CRUDFiles {
6
	protected $viewBase;
7
	
8
	public function __construct(){
9
		$this->viewBase="@framework/crud";
10
	}
11
	
12
	public function getViewIndex() {
13
		return $this->viewBase."/index.html";
14
	}
15
	
16
	public function getViewForm() {
17
		return $this->viewBase."/form.html";
18
	}
19
}
20
21