Completed
Push — master ( 35968b...428775 )
by Khoa
03:36
created
ext/vinabb/web/entities/bbook_chapter_interface.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -14,74 +14,74 @@
 block discarded – undo
14 14
 interface bbook_chapter_interface
15 15
 {
16 16
 	/**
17
-	* Get chapter content for edit
18
-	*
19
-	* @return string
20
-	*/
17
+	 * Get chapter content for edit
18
+	 *
19
+	 * @return string
20
+	 */
21 21
 	public function get_text_for_edit();
22 22
 
23 23
 	/**
24
-	* Get chapter content for display
25
-	*
26
-	* @param bool $censor True to censor the text
27
-	* @return string
28
-	*/
24
+	 * Get chapter content for display
25
+	 *
26
+	 * @param bool $censor True to censor the text
27
+	 * @return string
28
+	 */
29 29
 	public function get_text_for_display($censor = true);
30 30
 
31 31
 	/**
32
-	* Set chapter content
33
-	*
34
-	* @param string						$text	Chapter content
35
-	* @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
36
-	* @throws \vinabb\web\exceptions\unexpected_value
37
-	*/
32
+	 * Set chapter content
33
+	 *
34
+	 * @param string						$text	Chapter content
35
+	 * @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
36
+	 * @throws \vinabb\web\exceptions\unexpected_value
37
+	 */
38 38
 	public function set_text($text);
39 39
 
40 40
 	/**
41
-	* Check if BBCode is enabled on the chapter content
42
-	*
43
-	* @return bool
44
-	*/
41
+	 * Check if BBCode is enabled on the chapter content
42
+	 *
43
+	 * @return bool
44
+	 */
45 45
 	public function text_bbcode_enabled();
46 46
 
47 47
 	/**
48
-	* Enable/Disable BBCode on the chapter content
49
-	* This should be called before set_text(); text_enable_bbcode()->set_text()
50
-	*
51
-	* @param bool						$enable	true: enable; false: disable
52
-	* @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
53
-	*/
48
+	 * Enable/Disable BBCode on the chapter content
49
+	 * This should be called before set_text(); text_enable_bbcode()->set_text()
50
+	 *
51
+	 * @param bool						$enable	true: enable; false: disable
52
+	 * @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
53
+	 */
54 54
 	public function text_enable_bbcode($enable);
55 55
 
56 56
 	/**
57
-	* Check if URLs is enabled on the chapter content
58
-	*
59
-	* @return bool
60
-	*/
57
+	 * Check if URLs is enabled on the chapter content
58
+	 *
59
+	 * @return bool
60
+	 */
61 61
 	public function text_urls_enabled();
62 62
 
63 63
 	/**
64
-	* Enable/Disable URLs on the chapter content
65
-	* This should be called before set_text(); text_enable_urls()->set_text()
66
-	*
67
-	* @param bool						$enable	true: enable; false: disable
68
-	* @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
69
-	*/
64
+	 * Enable/Disable URLs on the chapter content
65
+	 * This should be called before set_text(); text_enable_urls()->set_text()
66
+	 *
67
+	 * @param bool						$enable	true: enable; false: disable
68
+	 * @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
69
+	 */
70 70
 	public function text_enable_urls($enable);
71 71
 
72 72
 	/**
73
-	* Check if smilies are enabled on the chapter content
74
-	*
75
-	* @return bool
76
-	*/
73
+	 * Check if smilies are enabled on the chapter content
74
+	 *
75
+	 * @return bool
76
+	 */
77 77
 	public function text_smilies_enabled();
78 78
 
79 79
 	/**
80
-	* Enable/Disable smilies on the chapter content
81
-	* This should be called before set_text(); text_enable_smilies()->set_text()
82
-	*
83
-	* @param bool						$enable	true: enable; false: disable
84
-	* @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
85
-	*/
80
+	 * Enable/Disable smilies on the chapter content
81
+	 * This should be called before set_text(); text_enable_smilies()->set_text()
82
+	 *
83
+	 * @param bool						$enable	true: enable; false: disable
84
+	 * @return bbook_chapter_interface	$this	Object for chaining calls: load()->set()->save()
85
+	 */
86 86
 	public function text_enable_smilies($enable);
87 87
 }
Please login to merge, or discard this patch.
ext/vinabb/web/entities/sub/chapter_text.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -25,33 +25,33 @@  discard block
 block discarded – undo
25 25
 	protected $prefix = 'chapter_text';
26 26
 
27 27
 	/**
28
-	* Get chapter content for edit
29
-	*
30
-	* @return string
31
-	*/
28
+	 * Get chapter content for edit
29
+	 *
30
+	 * @return string
31
+	 */
32 32
 	public function get_text_for_edit()
33 33
 	{
34 34
 		return $this->get_for_edit($this->prefix);
35 35
 	}
36 36
 
37 37
 	/**
38
-	* Get chapter content for display
39
-	*
40
-	* @param bool $censor True to censor the text
41
-	* @return string
42
-	*/
38
+	 * Get chapter content for display
39
+	 *
40
+	 * @param bool $censor True to censor the text
41
+	 * @return string
42
+	 */
43 43
 	public function get_text_for_display($censor = true)
44 44
 	{
45 45
 		return $this->get_for_display($this->prefix, $censor);
46 46
 	}
47 47
 
48 48
 	/**
49
-	* Set chapter content
50
-	*
51
-	* @param string			$text	Chapter content
52
-	* @return chapter_text	$this	Object for chaining calls: load()->set()->save()
53
-	* @throws \vinabb\web\exceptions\unexpected_value
54
-	*/
49
+	 * Set chapter content
50
+	 *
51
+	 * @param string			$text	Chapter content
52
+	 * @return chapter_text	$this	Object for chaining calls: load()->set()->save()
53
+	 * @throws \vinabb\web\exceptions\unexpected_value
54
+	 */
55 55
 	public function set_text($text)
56 56
 	{
57 57
 		$text = (string) $text;
@@ -66,66 +66,66 @@  discard block
 block discarded – undo
66 66
 	}
67 67
 
68 68
 	/**
69
-	* Check if BBCode is enabled on the chapter content
70
-	*
71
-	* @return bool
72
-	*/
69
+	 * Check if BBCode is enabled on the chapter content
70
+	 *
71
+	 * @return bool
72
+	 */
73 73
 	public function text_bbcode_enabled()
74 74
 	{
75 75
 		return $this->bbcode_enabled($this->prefix);
76 76
 	}
77 77
 
78 78
 	/**
79
-	* Enable/Disable BBCode on the chapter content
80
-	* This should be called before set_text(); text_enable_bbcode()->set_text()
81
-	*
82
-	* @param bool			$enable	true: enable; false: disable
83
-	* @return chapter_text	$this	Object for chaining calls: load()->set()->save()
84
-	*/
79
+	 * Enable/Disable BBCode on the chapter content
80
+	 * This should be called before set_text(); text_enable_bbcode()->set_text()
81
+	 *
82
+	 * @param bool			$enable	true: enable; false: disable
83
+	 * @return chapter_text	$this	Object for chaining calls: load()->set()->save()
84
+	 */
85 85
 	public function text_enable_bbcode($enable)
86 86
 	{
87 87
 		return $this->enable_bbcode($this->prefix, $enable);
88 88
 	}
89 89
 
90 90
 	/**
91
-	* Check if URLs is enabled on the chapter content
92
-	*
93
-	* @return bool
94
-	*/
91
+	 * Check if URLs is enabled on the chapter content
92
+	 *
93
+	 * @return bool
94
+	 */
95 95
 	public function text_urls_enabled()
96 96
 	{
97 97
 		return $this->urls_enabled($this->prefix);
98 98
 	}
99 99
 
100 100
 	/**
101
-	* Enable/Disable URLs on the chapter content
102
-	* This should be called before set_text(); text_enable_urls()->set_text()
103
-	*
104
-	* @param bool			$enable	true: enable; false: disable
105
-	* @return chapter_text	$this	Object for chaining calls: load()->set()->save()
106
-	*/
101
+	 * Enable/Disable URLs on the chapter content
102
+	 * This should be called before set_text(); text_enable_urls()->set_text()
103
+	 *
104
+	 * @param bool			$enable	true: enable; false: disable
105
+	 * @return chapter_text	$this	Object for chaining calls: load()->set()->save()
106
+	 */
107 107
 	public function text_enable_urls($enable)
108 108
 	{
109 109
 		return $this->enable_urls($this->prefix, $enable);
110 110
 	}
111 111
 
112 112
 	/**
113
-	* Check if smilies are enabled on the chapter content
114
-	*
115
-	* @return bool
116
-	*/
113
+	 * Check if smilies are enabled on the chapter content
114
+	 *
115
+	 * @return bool
116
+	 */
117 117
 	public function text_smilies_enabled()
118 118
 	{
119 119
 		return $this->smilies_enabled($this->prefix);
120 120
 	}
121 121
 
122 122
 	/**
123
-	* Enable/Disable smilies on the chapter content
124
-	* This should be called before set_text(); text_enable_smilies()->set_text()
125
-	*
126
-	* @param bool			$enable	true: enable; false: disable
127
-	* @return chapter_text	$this	Object for chaining calls: load()->set()->save()
128
-	*/
123
+	 * Enable/Disable smilies on the chapter content
124
+	 * This should be called before set_text(); text_enable_smilies()->set_text()
125
+	 *
126
+	 * @param bool			$enable	true: enable; false: disable
127
+	 * @return chapter_text	$this	Object for chaining calls: load()->set()->save()
128
+	 */
129 129
 	public function text_enable_smilies($enable)
130 130
 	{
131 131
 		return $this->enable_smilies($this->prefix, $enable);
Please login to merge, or discard this patch.
ext/vinabb/web/entities/sub/book_desc.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -25,33 +25,33 @@  discard block
 block discarded – undo
25 25
 	protected $prefix = 'book_desc';
26 26
 
27 27
 	/**
28
-	* Get book description for edit
29
-	*
30
-	* @return string
31
-	*/
28
+	 * Get book description for edit
29
+	 *
30
+	 * @return string
31
+	 */
32 32
 	public function get_text_for_edit()
33 33
 	{
34 34
 		return $this->get_for_edit($this->prefix);
35 35
 	}
36 36
 
37 37
 	/**
38
-	* Get book description for display
39
-	*
40
-	* @param bool $censor True to censor the text
41
-	* @return string
42
-	*/
38
+	 * Get book description for display
39
+	 *
40
+	 * @param bool $censor True to censor the text
41
+	 * @return string
42
+	 */
43 43
 	public function get_text_for_display($censor = true)
44 44
 	{
45 45
 		return $this->get_for_display($this->prefix, $censor);
46 46
 	}
47 47
 
48 48
 	/**
49
-	* Set book description
50
-	*
51
-	* @param string		$text	Book description
52
-	* @return book_desc	$this	Object for chaining calls: load()->set()->save()
53
-	* @throws \vinabb\web\exceptions\unexpected_value
54
-	*/
49
+	 * Set book description
50
+	 *
51
+	 * @param string		$text	Book description
52
+	 * @return book_desc	$this	Object for chaining calls: load()->set()->save()
53
+	 * @throws \vinabb\web\exceptions\unexpected_value
54
+	 */
55 55
 	public function set_text($text)
56 56
 	{
57 57
 		$text = (string) $text;
@@ -66,66 +66,66 @@  discard block
 block discarded – undo
66 66
 	}
67 67
 
68 68
 	/**
69
-	* Check if BBCode is enabled on the book description
70
-	*
71
-	* @return bool
72
-	*/
69
+	 * Check if BBCode is enabled on the book description
70
+	 *
71
+	 * @return bool
72
+	 */
73 73
 	public function text_bbcode_enabled()
74 74
 	{
75 75
 		return $this->bbcode_enabled($this->prefix);
76 76
 	}
77 77
 
78 78
 	/**
79
-	* Enable/Disable BBCode on the book description
80
-	* This should be called before set_text(); text_enable_bbcode()->set_text()
81
-	*
82
-	* @param bool		$enable	true: enable; false: disable
83
-	* @return book_desc	$this	Object for chaining calls: load()->set()->save()
84
-	*/
79
+	 * Enable/Disable BBCode on the book description
80
+	 * This should be called before set_text(); text_enable_bbcode()->set_text()
81
+	 *
82
+	 * @param bool		$enable	true: enable; false: disable
83
+	 * @return book_desc	$this	Object for chaining calls: load()->set()->save()
84
+	 */
85 85
 	public function text_enable_bbcode($enable)
86 86
 	{
87 87
 		return $this->enable_bbcode($this->prefix, $enable);
88 88
 	}
89 89
 
90 90
 	/**
91
-	* Check if URLs is enabled on the book description
92
-	*
93
-	* @return bool
94
-	*/
91
+	 * Check if URLs is enabled on the book description
92
+	 *
93
+	 * @return bool
94
+	 */
95 95
 	public function text_urls_enabled()
96 96
 	{
97 97
 		return $this->urls_enabled($this->prefix);
98 98
 	}
99 99
 
100 100
 	/**
101
-	* Enable/Disable URLs on the book description
102
-	* This should be called before set_text(); text_enable_urls()->set_text()
103
-	*
104
-	* @param bool		$enable	true: enable; false: disable
105
-	* @return book_desc	$this	Object for chaining calls: load()->set()->save()
106
-	*/
101
+	 * Enable/Disable URLs on the book description
102
+	 * This should be called before set_text(); text_enable_urls()->set_text()
103
+	 *
104
+	 * @param bool		$enable	true: enable; false: disable
105
+	 * @return book_desc	$this	Object for chaining calls: load()->set()->save()
106
+	 */
107 107
 	public function text_enable_urls($enable)
108 108
 	{
109 109
 		return $this->enable_urls($this->prefix, $enable);
110 110
 	}
111 111
 
112 112
 	/**
113
-	* Check if smilies are enabled on the book description
114
-	*
115
-	* @return bool
116
-	*/
113
+	 * Check if smilies are enabled on the book description
114
+	 *
115
+	 * @return bool
116
+	 */
117 117
 	public function text_smilies_enabled()
118 118
 	{
119 119
 		return $this->smilies_enabled($this->prefix);
120 120
 	}
121 121
 
122 122
 	/**
123
-	* Enable/Disable smilies on the book description
124
-	* This should be called before set_text(); text_enable_smilies()->set_text()
125
-	*
126
-	* @param bool		$enable	true: enable; false: disable
127
-	* @return book_desc	$this	Object for chaining calls: load()->set()->save()
128
-	*/
123
+	 * Enable/Disable smilies on the book description
124
+	 * This should be called before set_text(); text_enable_smilies()->set_text()
125
+	 *
126
+	 * @param bool		$enable	true: enable; false: disable
127
+	 * @return book_desc	$this	Object for chaining calls: load()->set()->save()
128
+	 */
129 129
 	public function text_enable_smilies($enable)
130 130
 	{
131 131
 		return $this->enable_smilies($this->prefix, $enable);
Please login to merge, or discard this patch.
ext/vinabb/web/entities/sub/word_desc.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -25,33 +25,33 @@  discard block
 block discarded – undo
25 25
 	protected $prefix = 'word_desc';
26 26
 
27 27
 	/**
28
-	* Get word explanation for edit
29
-	*
30
-	* @return string
31
-	*/
28
+	 * Get word explanation for edit
29
+	 *
30
+	 * @return string
31
+	 */
32 32
 	public function get_text_for_edit()
33 33
 	{
34 34
 		return $this->get_for_edit($this->prefix);
35 35
 	}
36 36
 
37 37
 	/**
38
-	* Get word explanation for display
39
-	*
40
-	* @param bool $censor True to censor the text
41
-	* @return string
42
-	*/
38
+	 * Get word explanation for display
39
+	 *
40
+	 * @param bool $censor True to censor the text
41
+	 * @return string
42
+	 */
43 43
 	public function get_text_for_display($censor = true)
44 44
 	{
45 45
 		return $this->get_for_display($this->prefix, $censor);
46 46
 	}
47 47
 
48 48
 	/**
49
-	* Set word explanation
50
-	*
51
-	* @param string		$text	Word explanation
52
-	* @return word_desc	$this	Object for chaining calls: load()->set()->save()
53
-	* @throws \vinabb\web\exceptions\unexpected_value
54
-	*/
49
+	 * Set word explanation
50
+	 *
51
+	 * @param string		$text	Word explanation
52
+	 * @return word_desc	$this	Object for chaining calls: load()->set()->save()
53
+	 * @throws \vinabb\web\exceptions\unexpected_value
54
+	 */
55 55
 	public function set_text($text)
56 56
 	{
57 57
 		$text = (string) $text;
@@ -66,66 +66,66 @@  discard block
 block discarded – undo
66 66
 	}
67 67
 
68 68
 	/**
69
-	* Check if BBCode is enabled on the word explanation
70
-	*
71
-	* @return bool
72
-	*/
69
+	 * Check if BBCode is enabled on the word explanation
70
+	 *
71
+	 * @return bool
72
+	 */
73 73
 	public function text_bbcode_enabled()
74 74
 	{
75 75
 		return $this->bbcode_enabled($this->prefix);
76 76
 	}
77 77
 
78 78
 	/**
79
-	* Enable/Disable BBCode on the word explanation
80
-	* This should be called before set_text(); text_enable_bbcode()->set_text()
81
-	*
82
-	* @param bool		$enable	true: enable; false: disable
83
-	* @return word_desc	$this	Object for chaining calls: load()->set()->save()
84
-	*/
79
+	 * Enable/Disable BBCode on the word explanation
80
+	 * This should be called before set_text(); text_enable_bbcode()->set_text()
81
+	 *
82
+	 * @param bool		$enable	true: enable; false: disable
83
+	 * @return word_desc	$this	Object for chaining calls: load()->set()->save()
84
+	 */
85 85
 	public function text_enable_bbcode($enable)
86 86
 	{
87 87
 		return $this->enable_bbcode($this->prefix, $enable);
88 88
 	}
89 89
 
90 90
 	/**
91
-	* Check if URLs is enabled on the word explanation
92
-	*
93
-	* @return bool
94
-	*/
91
+	 * Check if URLs is enabled on the word explanation
92
+	 *
93
+	 * @return bool
94
+	 */
95 95
 	public function text_urls_enabled()
96 96
 	{
97 97
 		return $this->urls_enabled($this->prefix);
98 98
 	}
99 99
 
100 100
 	/**
101
-	* Enable/Disable URLs on the word explanation
102
-	* This should be called before set_text(); text_enable_urls()->set_text()
103
-	*
104
-	* @param bool		$enable	true: enable; false: disable
105
-	* @return word_desc	$this	Object for chaining calls: load()->set()->save()
106
-	*/
101
+	 * Enable/Disable URLs on the word explanation
102
+	 * This should be called before set_text(); text_enable_urls()->set_text()
103
+	 *
104
+	 * @param bool		$enable	true: enable; false: disable
105
+	 * @return word_desc	$this	Object for chaining calls: load()->set()->save()
106
+	 */
107 107
 	public function text_enable_urls($enable)
108 108
 	{
109 109
 		return $this->enable_urls($this->prefix, $enable);
110 110
 	}
111 111
 
112 112
 	/**
113
-	* Check if smilies are enabled on the word explanation
114
-	*
115
-	* @return bool
116
-	*/
113
+	 * Check if smilies are enabled on the word explanation
114
+	 *
115
+	 * @return bool
116
+	 */
117 117
 	public function text_smilies_enabled()
118 118
 	{
119 119
 		return $this->smilies_enabled($this->prefix);
120 120
 	}
121 121
 
122 122
 	/**
123
-	* Enable/Disable smilies on the word explanation
124
-	* This should be called before set_text(); text_enable_smilies()->set_text()
125
-	*
126
-	* @param bool		$enable	true: enable; false: disable
127
-	* @return word_desc	$this	Object for chaining calls: load()->set()->save()
128
-	*/
123
+	 * Enable/Disable smilies on the word explanation
124
+	 * This should be called before set_text(); text_enable_smilies()->set_text()
125
+	 *
126
+	 * @param bool		$enable	true: enable; false: disable
127
+	 * @return word_desc	$this	Object for chaining calls: load()->set()->save()
128
+	 */
129 129
 	public function text_enable_smilies($enable)
130 130
 	{
131 131
 		return $this->enable_smilies($this->prefix, $enable);
Please login to merge, or discard this patch.
ext/vinabb/web/entities/bbook_word_interface.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -14,74 +14,74 @@
 block discarded – undo
14 14
 interface bbook_word_interface
15 15
 {
16 16
 	/**
17
-	* Get word explanation for edit
18
-	*
19
-	* @return string
20
-	*/
17
+	 * Get word explanation for edit
18
+	 *
19
+	 * @return string
20
+	 */
21 21
 	public function get_text_for_edit();
22 22
 
23 23
 	/**
24
-	* Get word explanation for display
25
-	*
26
-	* @param bool $censor True to censor the text
27
-	* @return string
28
-	*/
24
+	 * Get word explanation for display
25
+	 *
26
+	 * @param bool $censor True to censor the text
27
+	 * @return string
28
+	 */
29 29
 	public function get_text_for_display($censor = true);
30 30
 
31 31
 	/**
32
-	* Set word explanation
33
-	*
34
-	* @param string					$text	Word explanation
35
-	* @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
36
-	* @throws \vinabb\web\exceptions\unexpected_value
37
-	*/
32
+	 * Set word explanation
33
+	 *
34
+	 * @param string					$text	Word explanation
35
+	 * @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
36
+	 * @throws \vinabb\web\exceptions\unexpected_value
37
+	 */
38 38
 	public function set_text($text);
39 39
 
40 40
 	/**
41
-	* Check if BBCode is enabled on the word explanation
42
-	*
43
-	* @return bool
44
-	*/
41
+	 * Check if BBCode is enabled on the word explanation
42
+	 *
43
+	 * @return bool
44
+	 */
45 45
 	public function text_bbcode_enabled();
46 46
 
47 47
 	/**
48
-	* Enable/Disable BBCode on the word explanation
49
-	* This should be called before set_text(); text_enable_bbcode()->set_text()
50
-	*
51
-	* @param bool					$enable	true: enable; false: disable
52
-	* @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
53
-	*/
48
+	 * Enable/Disable BBCode on the word explanation
49
+	 * This should be called before set_text(); text_enable_bbcode()->set_text()
50
+	 *
51
+	 * @param bool					$enable	true: enable; false: disable
52
+	 * @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
53
+	 */
54 54
 	public function text_enable_bbcode($enable);
55 55
 
56 56
 	/**
57
-	* Check if URLs is enabled on the word explanation
58
-	*
59
-	* @return bool
60
-	*/
57
+	 * Check if URLs is enabled on the word explanation
58
+	 *
59
+	 * @return bool
60
+	 */
61 61
 	public function text_urls_enabled();
62 62
 
63 63
 	/**
64
-	* Enable/Disable URLs on the word explanation
65
-	* This should be called before set_text(); text_enable_urls()->set_text()
66
-	*
67
-	* @param bool					$enable	true: enable; false: disable
68
-	* @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
69
-	*/
64
+	 * Enable/Disable URLs on the word explanation
65
+	 * This should be called before set_text(); text_enable_urls()->set_text()
66
+	 *
67
+	 * @param bool					$enable	true: enable; false: disable
68
+	 * @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
69
+	 */
70 70
 	public function text_enable_urls($enable);
71 71
 
72 72
 	/**
73
-	* Check if smilies are enabled on the word explanation
74
-	*
75
-	* @return bool
76
-	*/
73
+	 * Check if smilies are enabled on the word explanation
74
+	 *
75
+	 * @return bool
76
+	 */
77 77
 	public function text_smilies_enabled();
78 78
 
79 79
 	/**
80
-	* Enable/Disable smilies on the word explanation
81
-	* This should be called before set_text(); text_enable_smilies()->set_text()
82
-	*
83
-	* @param bool					$enable	true: enable; false: disable
84
-	* @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
85
-	*/
80
+	 * Enable/Disable smilies on the word explanation
81
+	 * This should be called before set_text(); text_enable_smilies()->set_text()
82
+	 *
83
+	 * @param bool					$enable	true: enable; false: disable
84
+	 * @return bbook_word_interface	$this	Object for chaining calls: load()->set()->save()
85
+	 */
86 86
 	public function text_enable_smilies($enable);
87 87
 }
Please login to merge, or discard this patch.
ext/vinabb/web/entities/bbook_book_interface.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -14,74 +14,74 @@
 block discarded – undo
14 14
 interface bbook_book_interface
15 15
 {
16 16
 	/**
17
-	* Get book description for edit
18
-	*
19
-	* @return string
20
-	*/
17
+	 * Get book description for edit
18
+	 *
19
+	 * @return string
20
+	 */
21 21
 	public function get_text_for_edit();
22 22
 
23 23
 	/**
24
-	* Get book description for display
25
-	*
26
-	* @param bool $censor True to censor the text
27
-	* @return string
28
-	*/
24
+	 * Get book description for display
25
+	 *
26
+	 * @param bool $censor True to censor the text
27
+	 * @return string
28
+	 */
29 29
 	public function get_text_for_display($censor = true);
30 30
 
31 31
 	/**
32
-	* Set book description
33
-	*
34
-	* @param string					$text	Book description
35
-	* @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
36
-	* @throws \vinabb\web\exceptions\unexpected_value
37
-	*/
32
+	 * Set book description
33
+	 *
34
+	 * @param string					$text	Book description
35
+	 * @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
36
+	 * @throws \vinabb\web\exceptions\unexpected_value
37
+	 */
38 38
 	public function set_text($text);
39 39
 
40 40
 	/**
41
-	* Check if BBCode is enabled on the book description
42
-	*
43
-	* @return bool
44
-	*/
41
+	 * Check if BBCode is enabled on the book description
42
+	 *
43
+	 * @return bool
44
+	 */
45 45
 	public function text_bbcode_enabled();
46 46
 
47 47
 	/**
48
-	* Enable/Disable BBCode on the book description
49
-	* This should be called before set_text(); text_enable_bbcode()->set_text()
50
-	*
51
-	* @param bool					$enable	true: enable; false: disable
52
-	* @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
53
-	*/
48
+	 * Enable/Disable BBCode on the book description
49
+	 * This should be called before set_text(); text_enable_bbcode()->set_text()
50
+	 *
51
+	 * @param bool					$enable	true: enable; false: disable
52
+	 * @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
53
+	 */
54 54
 	public function text_enable_bbcode($enable);
55 55
 
56 56
 	/**
57
-	* Check if URLs is enabled on the book description
58
-	*
59
-	* @return bool
60
-	*/
57
+	 * Check if URLs is enabled on the book description
58
+	 *
59
+	 * @return bool
60
+	 */
61 61
 	public function text_urls_enabled();
62 62
 
63 63
 	/**
64
-	* Enable/Disable URLs on the book description
65
-	* This should be called before set_text(); text_enable_urls()->set_text()
66
-	*
67
-	* @param bool					$enable	true: enable; false: disable
68
-	* @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
69
-	*/
64
+	 * Enable/Disable URLs on the book description
65
+	 * This should be called before set_text(); text_enable_urls()->set_text()
66
+	 *
67
+	 * @param bool					$enable	true: enable; false: disable
68
+	 * @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
69
+	 */
70 70
 	public function text_enable_urls($enable);
71 71
 
72 72
 	/**
73
-	* Check if smilies are enabled on the book description
74
-	*
75
-	* @return bool
76
-	*/
73
+	 * Check if smilies are enabled on the book description
74
+	 *
75
+	 * @return bool
76
+	 */
77 77
 	public function text_smilies_enabled();
78 78
 
79 79
 	/**
80
-	* Enable/Disable smilies on the book description
81
-	* This should be called before set_text(); text_enable_smilies()->set_text()
82
-	*
83
-	* @param bool					$enable	true: enable; false: disable
84
-	* @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
85
-	*/
80
+	 * Enable/Disable smilies on the book description
81
+	 * This should be called before set_text(); text_enable_smilies()->set_text()
82
+	 *
83
+	 * @param bool					$enable	true: enable; false: disable
84
+	 * @return bbook_book_interface	$this	Object for chaining calls: load()->set()->save()
85
+	 */
86 86
 	public function text_enable_smilies($enable);
87 87
 }
Please login to merge, or discard this patch.