Home
last modified time | relevance | path

Searched refs:schema (Results 1 – 25 of 165) sorted by relevance

1234567

/plugin/struct/_test/mock/
H A DAccessTable.php13 $schema = new Schema($tablename, $ts);
14 return new AccessTablePage($schema, $pid, $ts, 0);
19 $schema = new Schema($tablename, 0);
20 return new AccessTableGlobal($schema, '', 0, $rid);
24 * @param Schema $schema
31 public static function bySchema(Schema $schema, $pid, $ts = 0, $rid = 0) argument
34 return new AccessTablePage($schema, $pid, $ts, $rid);
36 return new AccessTableGlobal($schema, $pid, $ts, $rid);
49 $schema = new Schema($tablename, $ts);
50 …return self::bySchema($schema, $pid, $ts); // becuse we have a static call here we can not rely on…
H A DAccessTableDataNoDB.php21 $this->schema = new SchemaNoDB($table, $ts);
33 $this->schema->columns = array();
37 $this->schema->columns[] = new Column($sort, new $single(), $sort);
41 $this->schema->columns[] = new Column($sort, new $multi(null, null, true), $sort);
/plugin/mobiletable/
H A Daction.php49 list($schema, $i) = $this->schema($m[1]);
58 list($schema, $i) = $this->schema($m[1]);
59 $table = $this->table($schema, $i, $m[2]);
70 private function schema($row) { function in action_plugin_mobiletable
72 $schema = [];
78 $index = count($schema);
82 $schema[] = $last = trim($th) ?: $last;
84 return [$schema, $index];
89 private function table($schema, $index, $body) { argument
92 $length = count($schema);
[all …]
/plugin/struct/_test/
H A Dedit.test.php113 $schema = 'schema2';
132 $schema = 'schema2';
137 $schema => array(
164 $schema = 'schema2';
169 $schema => array(
195 $schema = 'schema2';
200 $schema => array(
223 $schema = 'schema2';
270 $schema = 'schema2';
313 $schema = 'schema2';
[all …]
H A DSchema.test.php72 $schema = new Schema('foo');
73 $schema->delete();
80 $schema = new Schema('schema1');
81 $this->assertEquals(1, $schema->getId());
82 $schema->delete();
83 $this->assertEquals(0, $schema->getId());
85 $schema = new Schema('schema1');
86 $this->assertEquals(0, $schema->getId());
H A DAggregationResults.test.php61 $schema = 'schema1';
62 $result = $this->fetchResult($schema, $id, []);
78 $schema = 'schema1';
79 $result = $this->fetchResult($schema, 'test0');
95 $schema = 'pageschema';
96 $result = $this->fetchResult($schema);
128 * @param string $schema
133 protected function fetchPagesResult($schema, $id = '', $filters = []) argument
135 $syntaxConfig = ['schema: ' . $schema, 'cols: %pageid%, %rowid%, *'];
149 * @param string $schema
[all …]
H A DSchemaImporter.test.php30 $schema = new meta\Schema('schema1');
32 $actual = json_decode($schema->toJSON(), true);
44 $schema = new meta\Schema('tag');
45 $columns = $schema->getColumns();
59 $schema = new meta\Schema('foobar');
61 $actual = json_decode($schema->toJSON(), true);
/plugin/struct/
H A Dhelper.php42 * @param string|null $schema The schema to use null for all
47 public function getData($page, $schema = null, $time = 0) argument
54 if (is_null($schema)) {
58 $schemas = array($schema);
62 foreach ($schemas as $schema) {
64 $result[$schema] = $schemaData->getDataArray();
166 public static function getSchema($schema = null) argument
168 if (is_null($schema)) {
171 $schemas = array($schema);
190 public function getPages($schema = null) argument
[all …]
H A Dremote.php35 * @param string $schema The schema to use empty for all
41 public function getData($page, $schema, $time) argument
49 if (!$schema) $schema = null;
52 return $this->hlp->getData($page, $schema, $time);
95 * @param string $schema the schema to query, empty for all
100 public function getSchema($schema = null) argument
108 $schemas = $this->hlp::getSchema($schema ?: null);
109 foreach ($schemas as $name => $schema) {
111 foreach ($schema->getColumns(false) as $column) {
/plugin/struct/meta/
H A DAccessTable.php18 protected $schema; variable in dokuwiki\\plugin\\struct\\meta\\AccessTable
59 $schema = new Schema($tablename, $ts);
65 $schema = new Schema($tablename, 0);
71 $schema = new Schema($tablename, 0);
78 * @param Schema $schema schema to load
109 $schema = new Schema($tablename, time());
111 $schema = new Schema($tablename, $ts);
119 * @param Schema $schema The schema valid at $ts
130 if (!$schema->getId()) {
134 $this->schema = $schema;
[all …]
H A DSchemaEditor.php19 protected $schema; variable in dokuwiki\\plugin\\struct\\meta\\SchemaEditor
26 * @param Schema $schema
28 public function __construct(Schema $schema) argument
30 $this->schema = $schema;
47 $form->setHiddenField('table', $this->schema->getTable());
48 $form->setHiddenField('schema[id]', $this->schema->getId());
61 foreach ($this->schema->getColumns() as $key => $col) {
66 …$form->addHTML($this->adminColumn('new1', new Column($this->schema->getMaxsort() + 10, new Text())…
71 $config = json_encode($this->schema->getConfig(), JSON_PRETTY_PRINT);
/plugin/scrape/HTMLPurifier/ConfigSchema/Builder/
H A DConfigSchema.php11 $schema = new HTMLPurifier_ConfigSchema();
13 $schema->add(
20 $schema->addAllowedValues(
26 $schema->addAlias(
32 $schema->addValueAliases(
38 $schema->postProcess();
39 return $schema;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Pubsub/
H A DSchemaSettings.php29 public $schema; variable in Google\\Service\\Pubsub\\SchemaSettings
48 public function setSchema($schema) argument
50 $this->schema = $schema;
57 return $this->schema;
H A DValidateSchemaRequest.php28 public function setSchema(Schema $schema) argument
30 $this->schema = $schema;
37 return $this->schema;
H A DValidateMessageRequest.php82 public function setSchema(Schema $schema) argument
84 $this->schema = $schema;
91 return $this->schema;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Datastream/
H A DOracleObjectIdentifier.php25 public $schema; variable in Google\\Service\\Datastream\\OracleObjectIdentifier
34 public function setSchema($schema) argument
36 $this->schema = $schema;
43 return $this->schema;
H A DOracleSchema.php28 public $schema; variable in Google\\Service\\Datastream\\OracleSchema
47 public function setSchema($schema) argument
49 $this->schema = $schema;
56 return $this->schema;
/plugin/struct/admin/
H A Dschemas.php117 $schema->delete();
134 $schema->clear();
154 $schema = new Schema($table, 0);
174 $editor = new SchemaEditor($schema);
176 echo $this->htmlJson($schema);
177 echo $this->htmlDelete($schema);
187 * @param Schema $schema
190 protected function htmlJson(Schema $schema) argument
256 * @param Schema $schema
329 foreach ($schemas as $schema) {
[all …]
H A Dassignments.php117 $schema = $assignment['tbl'];
127 'assignment[tbl]' => $schema,
134 echo '<td>' . hsc($schema) . '</td>';
145 foreach ($schemas as $schema) {
146 if ($schema->isInternal()) continue;
147 $table = $schema->getTable();
/plugin/struct/action/
H A Dajax.php66 list($schema, $colname) = explode('.', $col, 2);
67 if (blank($schema) || blank($colname)) throw new StructException('Column format is wrong');
69 $schema = new Schema($schema);
70 if (!$schema->getId()) throw new StructException('Unknown Schema');
72 $column = $schema->findColumn($colname);
H A Dmove.php63 $schema = new Schema($table);
64 foreach ($schema->getColumns() as $col) {
68 $this->updateColumnID($schema, $col, $old, $new, true);
71 $this->updateColumnLookup($schema, $col, $old, $new);
77 $this->updateColumnID($schema, $col, $old, $new);
146 * @param Schema $schema
152 protected function updateColumnID(Schema $schema, Column $col, $old, $new, $hashes = false) argument
155 $table = $schema->getTable();
188 * @param Schema $schema
193 protected function updateColumnLookup(Schema $schema, Column $col, $old, $new) argument
[all …]
/plugin/structpublish/meta/
H A DRevision.php18 protected $schema; variable in dokuwiki\\plugin\\structpublish\\meta\\Revision
49 $this->schema = new Schema('structpublish');
50 $this->statusCol = $this->schema->findColumn('status');
51 $this->versionCol = $this->schema->findColumn('version');
52 $this->userCol = $this->schema->findColumn('user');
53 $this->datetimeCol = $this->schema->findColumn('datetime');
54 $this->revisionCol = $this->schema->findColumn('revision');
223 $schema = new Schema('structpublish', 0);
224 $access = new AccessTableStructpublish($schema, $pid, 0, $rid);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudSearch/
H A DUpdateSchemaRequest.php48 public function setSchema(Schema $schema) argument
50 $this->schema = $schema;
57 return $this->schema;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudHealthcare/
H A DParserConfig.php54 public function setSchema(SchemaPackage $schema) argument
56 $this->schema = $schema;
63 return $this->schema;
/plugin/structstatus/
H A Daction.php73 foreach ($schemas as $schema) {
74 $ok = $ok && $this->$call($sqlite, $schema);
108 * @param array $schema
111 protected function migration17($sqlite, $schema) argument
113 $name = $schema['tbl'];
114 $sid = $schema['id'];

1234567