Completed
Push — master ( e78c7b...3c463f )
by Jeroen
266:34 queued 210:43
created

ElggReportedContent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
ccs 0
cts 3
cp 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A initializeAttributes() 0 4 1
1
<?php
2
3
/**
4
 * Report
5
 *
6
 * @property string $address URL of content
7
 * @property string $state   State of report. "active" or "archived"
8
 */
9
class ElggReportedContent extends ElggObject {
10
11
	/**
12
	 * {@inheritDoc}
13
	 */
14
	protected function initializeAttributes() {
15
		parent::initializeAttributes();
16
17
		$this->attributes['subtype'] = "reported_content";
18
	}
19
}
20