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
'parent_id'
=> null,
12
'content_id'
=>
'fixture1'
,
13
'user_id'
=> null,
14
'moderator_email'
=>
'email@email.com'
,
15
'firstname'
=>
'First name'
,
16
'lastname'
=>
'Last name'
,
17
'email'
=>
'email@email.com'
,
18
'subject'
=>
'Subject'
,
19
'description'
=>
'Description'
,
20
'notify_moderator'
=> 0,
21
'notify_user'
=> 0,
22
'status'
=>
Comment::NOT_APPROVED
,
23
'language'
=>
'en'
24
),
25
'child1'
=> array(
26
'parent_id'
=> 1,
27
'content_id'
=>
'fixture1'
,
28
'user_id'
=> null,
29
'moderator_email'
=>
'email@email.com'
,
30
'firstname'
=>
'First name'
,
31
'lastname'
=>
'Last name'
,
32
'email'
=>
'email@email.com'
,
33
'subject'
=>
'Subject'
,
34
'description'
=>
'Description'
,
35
'notify_moderator'
=> 0,
36
'notify_user'
=> 0,
37
'status'
=>
Comment::NOT_APPROVED
,
38
'language'
=>
'en'
39
),
40
'child2'
=> array(
41
'parent_id'
=> 1,
42
'content_id'
=>
'fixture1'
,
43
'user_id'
=> null,
44
'moderator_email'
=>
'email@email.com'
,
45
'firstname'
=>
'First name'
,
46
'lastname'
=>
'Last name'
,
47
'email'
=>
'email@email.com'
,
48
'subject'
=>
'Subject'
,
49
'description'
=>
'Description'
,
50
'notify_moderator'
=> 0,
51
'notify_user'
=> 0,
52
'status'
=>
Comment::NOT_APPROVED
,
53
'language'
=>
'en'
54
),
55
'deleted'
=> array(
56
'content_id'
=>
'fixture1'
,
57
'user_id'
=> null,
58
'moderator_email'
=>
'email@email.com'
,
59
'firstname'
=>
'First name'
,
60
'lastname'
=>
'Last name'
,
61
'email'
=>
'email@email.com'
,
62
'subject'
=>
'Subject'
,
63
'description'
=>
'Description'
,
64
'notify_moderator'
=> 0,
65
'notify_user'
=> 0,
66
'status'
=> Comment::DELETED,
67
'language'
=>
'en'
68
),
69
'approved'
=> array(
70
'content_id'
=>
'fixture1'
,
71
'user_id'
=> null,
72
'moderator_email'
=>
'email@email.com'
,
73
'firstname'
=>
'First name'
,
74
'lastname'
=>
'Last name'
,
75
'email'
=>
'email@email.com'
,
76
'subject'
=>
'Subject'
,
77
'description'
=>
'Description'
,
78
'notify_moderator'
=> 0,
79
'notify_user'
=> 0,
80
'status'
=> Comment::APPROVED,
81
'language'
=>
'en'
82
),
83
'loggedIn'
=> array(
84
'content_id'
=>
'fixture2'
,
85
'user_id'
=> 7,
//without rights
86
'moderator_email'
=>
'commentsModerator@example.com'
,
87
'firstname'
=>
'First name'
,
88
'lastname'
=>
'Last name'
,
89
'email'
=>
'email@email.com'
,
90
'subject'
=>
'Subject'
,
91
'description'
=>
'Description'
,
92
'notify_moderator'
=> 0,
93
'notify_user'
=> 0,
94
'status'
=> Comment::APPROVED,
95
'language'
=>
'en'
96
),
97
98
);
Generated on Thu Jun 20 2013 14:45:15 for Gentics Portal.Node PHP API by
1.8.1.2