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

ElggMessage::initializeAttributes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 3
cts 3
cp 1
crap 1
1
<?php
2
3
/**
4
 * Message
5
 *
6
 * @property int $toId       Recipient GUID
7
 * @property int $fromId     Sender GUID
8
 * @property int $readYet    Has the message been read? 1 = yes
9
 * @property int $hiddenFrom Has the user deleted the message from their sentbox?
10
 * @property int $hiddenTo   Has the user deleted the message from their inbox?
11
 */
12
class ElggMessage extends ElggObject {
13
14
	/**
15
	 * {@inheritDoc}
16
	 */
17 2
	protected function initializeAttributes() {
18 2
		parent::initializeAttributes();
19
20 2
		$this->attributes['subtype'] = "messages";
21 2
	}
22
}
23