搜索

大约有 132 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0989秒)

51.XSUtil::toProjectIni

...s.php#L29 (显示) public static function toProjectIni($project){ if (!is_file($project)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : dirname(__FILE__) . '/../app'; } return $appRoot . '/' ...

52.关于缓存使用xcache的问题

发布时间:2012-03-05 14:03 t By lxe524

...常 [XSErrorException] ../lib/XS.php(431): xcache_get(): xcache.var_size is either 0 or too small to enable var data caching(2) #0 [internal function]: xs_error_handler(2, 'xcache_get(): x...', '/usr/local/xuns...', 431, Array) 如果只是缓存配置文件的话,缓存不缓存倒没所谓...

53.XSCsvDataSource::getDataList

getDataList() 方法 protected void getDataList() 源码: sdk/php/util/XSDataSource.class.php#L392 (显示) protected function getDataList(){ if (($item = fgetcsv($this->fd, 0, $this->delim)) === false) { if ($this->inCli) { echo "INFO: reach end of file or error occ...

54.XSDatabaseMySQLI::query

...public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = $this->obj->query($sql); if ($res === false) { throw new XSException('MySQL ERROR(#' . $this->obj->error . '): ' . $this->obj->errno); } if (!is_object($res)) { $ret = $res; } else { $ret = array...

55.XSDatabaseSQLite::query

...on query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = sqlite_query($this->link, $sql); if ($res === false) { throw new XSException('SQLITE ERROR: ' . sqlite_error_string($this->link)); } if (!is_resource($res)) { $ret = $res; } else { $ret = array(); whil...

56.XSDatabase::query1

...\s+offset\s+(\d+))?\s*$/i', '', $sql); $sql .= ' LIMIT 1'; $res = $this->query($sql); return (is_array($res) && isset($res[0])) ? $res[0] : false;} 查询数据库首行

57.XSDatabaseMySQL::query

...ery($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = mysql_query($sql, $this->link); if ($res === false) { throw new XSException('MySQL ERROR(#' . mysql_errno($this->link) . '): ' . mysql_error($this->link)); } if (!is_resource($res)) { $ret = $res; } else { $ret = ...

58.SQL语句里 group by 带来的问题

发布时间:2014-05-20 15:05 t By xiao6ye

...ods as g left join fp_goods_attr as ga on g.goods_id = ga.goods_id where g.is_on_sale = 1" --project=fp 开始重建索引 ... 初始化数据源 ... mysql://root:@localhost/shop 开始批量导入数据 (请直接输入数据) ... 完成索引导入:成功 16 条,失败 0 条 完成重建...

59.XSDocument::addTerm

...n addTerm($field, $term, $weight = 1){ $field = strval($field); if (!is_array($this->_terms)) { $this->_terms = array(); } if (!isset($this->_terms[$field])) { $this->_terms[$field] = array($term => $weight); } elseif (!isset($this->_terms[$field][$term])) { $this...

60.XSDataSource::getData

...aSource.class.php#L65 (显示) final public function getData(){ if ($this->dataPos === null || $this->dataPos === count($this->dataList)) { $this->dataPos = 0; $this->dataList = $this->getDataList(); if (!is_array($this->dataList) || count($this->dataList) === 0) { ...

  • 时间不限
  • 按相关性排序