搜索

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

11.XS::autoload

...d($name){ $file = XS_LIB_ROOT . '/' . $name . '.class.php'; if (file_exists($file)) { require_once $file; }} 智能加载类库文件 要求以 Name.class.php 命名并与本文件存放在同一目录, 如: XSTokenizerXxx.class.php

12.XSDataSource::instance

... $class = 'XS' . ucfirst(strtolower($type2)) . 'DataSource'; if (!class_exists($class)) { throw new XSException("Undefined data source type: `$type2'"); } return new $class($type, $arg);} 取得数据源对象实例

13.不使用Indexer.php添加数据到xunsearch

更新时间:2012-12-21 20:12 t By Dull

...[code]-- -- Table structure for table `sample` -- CREATE TABLE IF NOT EXISTS `sample` ( `id` int(12) unsigned NOT NULL AUTO_INCREMENT, `subject` varchar(1024) NOT NULL, `message` text NOT NULL, `dateline` int(12) unsigned NOT NULL, `author` varchar(1024) NOT NULL, `authorid` i...

14.XSCommand::__construct

...reach ($cmd as $key => $value) { if ($key === 'arg' || property_exists($this, $key)) { $this->$key = $value; } } } else { $this->cmd = $cmd; $this->arg1 = $arg1; $this->arg2 = $arg2; $this->buf = $buf; $this->buf1 = $b...

15.XSIndex::addExdata

...file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSException('Failed to read exdata from file'); } // try to check allowed (BUG: check the first cmd only): // XS_CMD_IMPORT_HEADER, XS...

16.XSFieldMeta

...irst($this->tokenizer); $arg = null; } if (!class_exists($name)) { $file = $name . '.class.php'; if (file_exists($file)) { require_once $file; } else if (file_exists(XS_LIB_ROOT . DIRECTORY_SEPARATOR . $file)) { ...

17.XSFieldScheme

... if ($throw === true) { throw new XSException('Not exists field with vno: `' . $name . '\''); } return false; } $name = $this->_vnoMap[$name]; } if (!isset($this->_fields[$name])) { if ($throw === true) { throw new X...

18.XS

...d($name){ $file = XS_LIB_ROOT . '/' . $name . '.class.php'; if (file_exists($file)) { require_once $file; }} 智能加载类库文件 要求以 Name.class.php 命名并与本文件存放在同一目录, 如: XSTokenizerXxx.class.php convert() 方法 public static mixed ...

19.XSDataSource

... $class = 'XS' . ucfirst(strtolower($type2)) . 'DataSource'; if (!class_exists($class)) { throw new XSException("Undefined data source type: `$type2'"); } return new $class($type, $arg);} 取得数据源对象实例

20.XSDatabaseDataSource

...ram['scheme']); $class = 'XSDatabase' . ucfirst($driver); if (!class_exists($class)) { throw new XSException("Undefined database driver: '$driver'"); } $this->db = new $class; $this->db->connect($param); // set SQL & parse limit/offset $this->limit = $this->offset = 0; ...

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