Changeset 2567:6c11245cbf04 for inc/core
- Timestamp:
- 11/17/13 20:30:21 (12 years ago)
- Branch:
- default
- Parents:
- 2564:c8bf313d697e (diff), 2566:9bf417837888 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- inc/core
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.blog.php
r2521 r2567 2385 2385 //@} 2386 2386 } 2387 ?> -
inc/core/class.dc.blog.php
r2566 r2567 1894 1894 - post_id: (integer) Get comments belonging to given post_id 1895 1895 - cat_id: (integer or array) Get comments belonging to entries of given category ID 1896 - comment_id: (integer ) Get comment with given ID1896 - comment_id: (integer or array) Get comment with given ID (or IDs) 1897 1897 - comment_site: (string) Get comments with given comment_site 1898 1898 - comment_status: (integer) Get comments with given comment_status … … 1984 1984 1985 1985 if (isset($params['comment_id']) && $params['comment_id'] !== '') { 1986 $strReq .= 'AND comment_id = '.(integer) $params['comment_id'].' '; 1986 if (is_array($params['comment_id'])) { 1987 array_walk($params['comment_id'],create_function('&$v,$k','if($v!==null){$v=(integer)$v;}')); 1988 } else { 1989 $params['comment_id'] = array((integer) $params['comment_id']); 1990 } 1991 $strReq .= 'AND comment_id '.$this->con->in($params['comment_id']); 1987 1992 } 1988 1993 -
inc/core/class.dc.namespace.php
r2505 r2567 399 399 400 400 } 401 ?> -
inc/core/class.dc.namespace.php
r2566 r2567 125 125 126 126 /** 127 Returns global setting value if exists. 128 129 @param n <b>string</b> setting name 130 @return <b>mixed</b> 131 */ 132 public function getGlobal($n) 133 { 134 if (isset($this->global_settings[$n]['value'])) { 135 return $this->global_settings[$n]['value']; 136 } 137 138 return null; 139 } 140 141 /** 142 Returns local setting value if exists. 143 144 @param n <b>string</b> setting name 145 @return <b>mixed</b> 146 */ 147 public function getLocal($n) 148 { 149 if (isset($this->local_settings[$n]['value'])) { 150 return $this->local_settings[$n]['value']; 151 } 152 153 return null; 154 } 155 156 /** 127 157 Magic __get method. 128 158 @copydoc ::get -
inc/core/class.dc.themes.php
r2566 r2567 59 59 # Themes specifics properties 60 60 $properties = array_merge( 61 array('parent' => null ),61 array('parent' => null, 'tplset' => 'legacy'), 62 62 $properties, 63 63 array('permissions' => 'admin') // force themes perms
Note: See TracChangeset
for help on using the changeset viewer.