reorder( $where ); } /** * Legacy Method, use {@link JTable::publish()} instead * @deprecated As of 1.0.3 */ function publish_array( $cid=null, $publish=1, $user_id=0 ) { $this->publish( $cid, $publish, $user_id ); } /** * Legacy Method, make sure you use {@link JRequest::get()} or {@link JRequest::getVar()} instead * @deprecated As of 1.5 */ function filter( $ignoreList=null ) { $ignore = is_array( $ignoreList ); $filter = & JFilterInput::getInstance(); foreach ($this->getProperties() as $k => $v) { if ($ignore && in_array( $k, $ignoreList ) ) { continue; } $this->$k = $filter->clean( $this->$k ); } } /** * Legacy Method, use {@link JObject::getProperties()} instead * @deprecated As of 1.5 */ function getPublicProperties() { $properties = $this->getProperties(); return array_keys($properties); } /** * Legacy Method, use {@link JObject::getError()} instead * @deprecated As of 1.5 */ function getError($i = null, $toString = true ) { return $this->_error; } /** * Legacy Method, use {@link JObject::setError()} instead * @deprecated As of 1.5 */ function setErrorNum( $value ) { $this->_errorNum = $value; } /** * Legacy Method, use {@link JObject::getError()} instead * @deprecated As of 1.5 */ function getErrorNum() { return $this->_errorNum; } }