Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
tests
fixtures
gportal_comments.php
1
<?php
2
/**
3
* Created by JetBrains PhpStorm.
4
* User: andrew
5
* Date: 7/12/12
6
* Time: 5:45 PM
7
* To change this template use File | Settings | File Templates.
8
*/
9
return
array(
10
'parent'
=> array(
11
'id'
=> 1,
12
'parent_id'
=> null,
13
'content_id'
=>
'fixture1'
,
14
'user_id'
=> null,
15
'moderator_email'
=>
'email@email.com'
,
16
'firstname'
=>
'First name'
,
17
'lastname'
=>
'Last name'
,
18
'email'
=>
'email@email.com'
,
19
'subject'
=>
'Subject'
,
20
'description'
=>
'Description'
,
21
'notify_moderator'
=> 0,
22
'notify_user'
=> 0,
23
'status'
=>
Comment::NOT_APPROVED
,
24
'language'
=>
'en'
25
),
26
'child1'
=> array(
27
'id'
=> 2,
28
'parent_id'
=> 1,
29
'content_id'
=>
'fixture1'
,
30
'user_id'
=> null,
31
'moderator_email'
=>
'email@email.com'
,
32
'firstname'
=>
'First name'
,
33
'lastname'
=>
'Last name'
,
34
'email'
=>
'email@email.com'
,
35
'subject'
=>
'Subject'
,
36
'description'
=>
'Description'
,
37
'notify_moderator'
=> 0,
38
'notify_user'
=> 0,
39
'status'
=>
Comment::NOT_APPROVED
,
40
'language'
=>
'en'
41
),
42
'child2'
=> array(
43
'id'
=> 3,
44
'parent_id'
=> 1,
45
'content_id'
=>
'fixture1'
,
46
'user_id'
=> null,
47
'moderator_email'
=>
'email@email.com'
,
48
'firstname'
=>
'First name'
,
49
'lastname'
=>
'Last name'
,
50
'email'
=>
'email@email.com'
,
51
'subject'
=>
'Subject'
,
52
'description'
=>
'Description'
,
53
'notify_moderator'
=> 0,
54
'notify_user'
=> 0,
55
'status'
=>
Comment::NOT_APPROVED
,
56
'language'
=>
'en'
57
),
58
'deleted'
=> array(
59
'content_id'
=>
'fixture1'
,
60
'user_id'
=> null,
61
'moderator_email'
=>
'email@email.com'
,
62
'firstname'
=>
'First name'
,
63
'lastname'
=>
'Last name'
,
64
'email'
=>
'email@email.com'
,
65
'subject'
=>
'Subject'
,
66
'description'
=>
'Description'
,
67
'notify_moderator'
=> 0,
68
'notify_user'
=> 0,
69
'status'
=> Comment::DELETED,
70
'language'
=>
'en'
71
),
72
'approved'
=> array(
73
'content_id'
=>
'fixture1'
,
74
'user_id'
=> null,
75
'moderator_email'
=>
'email@email.com'
,
76
'firstname'
=>
'First name'
,
77
'lastname'
=>
'Last name'
,
78
'email'
=>
'email@email.com'
,
79
'subject'
=>
'Subject'
,
80
'description'
=>
'Description'
,
81
'notify_moderator'
=> 0,
82
'notify_user'
=> 0,
83
'status'
=> Comment::APPROVED,
84
'language'
=>
'en'
85
),
86
'loggedIn'
=> array(
87
'content_id'
=>
'fixture2'
,
88
'user_id'
=> 7,
//without rights
89
'moderator_email'
=>
'commentsModerator@example.com'
,
90
'firstname'
=>
'First name'
,
91
'lastname'
=>
'Last name'
,
92
'email'
=>
'email@email.com'
,
93
'subject'
=>
'Subject'
,
94
'description'
=>
'Description'
,
95
'notify_moderator'
=> 0,
96
'notify_user'
=> 0,
97
'status'
=> Comment::APPROVED,
98
'language'
=>
'en'
99
),
100
101
);
Generated on Thu Feb 6 2014 15:47:55 for Gentics Portal.Node PHP API by
1.8.1.2