/plugin/struct/action/ |
H A D | bureaucracy.php | 23 * submitted through the bureaucracy form to all newly created pages (if the schema applies). 26 * schema to the form. The struct_field type is added through standard naming convention - see 46 * Load a whole schema as fields 64 $schema = new Schema($helper->opt['label']); 65 if (!$schema->getId()) { 66 msg('This schema does not exist', -1); 70 foreach ($schema->getColumns(false) as $column) { 104 $search->addSchema($config['schema']); 177 // make sure this schema is assigned
|
H A D | edit.php | 26 * @var string The form name we use to transfer schema data 106 * @return string The HTML for this schema's form 116 $schema = AccessTable::getPageAccess($tablename, $ID, $ts); 117 if (!$schema->getSchema()->isEditable()) { 120 $schemadata = $schema->getData(); 131 $html = '<fieldset data-schema="' . $schemaid . '">'; 132 $html .= '<legend>' . hsc($schema->getSchema()->getTranslatedLabel()) . '</legend>';
|
H A D | migration.php | 74 * Unifies previous page and lookup schema types 120 foreach ($schemas as $schema) { 121 $name = $schema['tbl']; 122 $sid = $schema['id']; 123 $isLookup = $schema['islookup']; 246 foreach ($schemas as $schema) { 248 $name = $schema['tbl']; 249 $sid = $schema['id']; 372 * Returns a select statement to fetch Lookup columns in the current schema 374 * @param int $sid Id of the schema [all...] |
H A D | move.php | 67 $schema = new Schema($table); 68 foreach ($schema->getColumns() as $col) { 71 $this->updateColumnID($schema, $col, $old, $new, true); 73 $this->updateColumnLookup($schema, $col, $old, $new); 76 $this->updateColumnID($schema, $col, $old, $new); 113 * Update the page-schema assignments 143 * @param Schema $schema 149 protected function updateColumnID(Schema $schema, Column $col, $old, $new, $hashes = false) 152 $table = $schema->getTable(); argument 183 * Lookups contain a page id when the referenced schema i 193 updateColumnLookup(Schema $schema, Column $col, $old, $new) global() argument [all...] |
H A D | output.php | 18 * This action component handles the automatic output of all schema data that has been assigned 94 * If the page has a schema assigned, add its struct data 113 foreach ($data as $schema => $fields) { 114 $schemaObject = new Schema($schema); 123 $placeholder = sprintf('@%s_%s_%s@', self::DW2PDF_PLACEHOLDER_PREFIX, $schema, $field);
|
H A D | aggregationeditor.php | 100 $tablename = $INPUT->str('schema'); 102 throw new StructException('No schema given'); 112 throw new StructException('lookup delete error: no permission for schema'); 123 $tablename = $INPUT->str('schema'); 161 $schema = new Schema($tablename); 162 if (!$schema->isEditable()) { 174 $columns = $this->resolveColumns($searchconf, $schema); 183 echo '<input type="hidden" name="schema" value="' . hsc($tablename) . '" />'; 198 * @param Schema $schema argument 201 protected function resolveColumns($searchconf, $schema) [all...] |
/plugin/struct/admin/ |
H A D | assignments.php | 117 $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();
|
H A D | schemas.php | 53 $builder = new SchemaBuilder($table, $INPUT->arr('schema')); 117 $schema = new Schema($table); 118 $schema->delete(); 134 $schema = new Schema($table); 135 $schema->clear(); 155 $schema = new Schema($table, 0); 160 if ($schema->getConfig()['internal']) { 175 $editor = new SchemaEditor($schema); 177 echo $this->htmlJson($schema); 178 echo $this->htmlDelete($schema); 190 htmlJson(Schema $schema) global() argument 259 htmlDelete(Schema $schema) global() argument [all...] |
/plugin/struct/lang/en/ |
H A D | clear_intro.txt | 1 **WARNING:** This will clear **all** data that has ever been saved for this schema! There is no going back!
|
H A D | delete_intro.txt | 1 **WARNING:** Deleting a schema will delete the schema definition and **all** data that has ever been saved for this schema. There is no going back!
|
H A D | editor_edit.txt | 3 Add or modify fields of the schema here.
|
H A D | editor_intro.txt | 3 Schemas are the core of the Struct Plugin. A schema defines a template of structured data that shall be assigned to pages later. 5 Pick an existing schema from the Table of Contents or a create a new one.
|
/plugin/struct/ |
H A D | helper.php | 43 * @param string|null $schema The schema to use null for all 45 * @return array ('schema' => ( 'fieldlabel' => 'value', ...)) 48 public function getData($page, $schema = null, $time = 0) 55 if (is_null($schema)) { 59 $schemas = [$schema]; 63 foreach ($schemas as $schema) { 64 $schemaData = AccessTable::getPageAccess($schema, $page, $time); 65 $result[$schema] = $schemaData->getDataArray(); 86 * @param array $data ('schema' 47 getData($page, $schema = null, $time = 0) global() argument 166 getSchema($schema = null) global() argument 190 getPages($schema = null) global() argument [all...] |
/plugin/struct/helper/ |
H A D | field.php | 219 * Tries to find the correct column and schema 229 throw new StructException('Field \'%s\' not given in schema.field form', $colname); 231 $schema = new Schema($table); 232 return $schema->findColumn($label);
|
H A D | imexport.php | 30 * Delete all existing assignment patterns of a schema and replace them with the provided ones. 75 * Get the json of the current version of the given schema or false if the schema doesn't exist. 78 * @return string|bool The json string or false if the schema doesn't exist 82 $schema = new Schema($schemaName); 83 if ($schema->getId() == 0) { 86 return $schema->toJSON(); 90 * Import a schema. If a schema with the given name already exists, then it will be overwritten. Otherwise a new 91 * schema wil [all...] |
/plugin/openlayersmap/ol7/ |
H A D | ol.js.map |
|
/plugin/structstatus/ |
H A D | Status.php | 105 $schema = 'data_' . $this->config['schema']; 135 $tablealias, $schema, $rightalias,
|
H A D | action.php | 71 foreach ($schemas as $schema) { 72 $this->$call($sqlite, $schema); 107 * @param array $schema 110 protected function migration17($sqlite, $schema) argument 112 $name = $schema['tbl']; 113 $sid = $schema['id'];
|
H A D | syntax.php | 96 $schema = $access->getSchema(); 97 if(!$schema->getId()) return ''; 100 $col = $schema->findColumn($field); 118 if(auth_quickaclcheck($id) >= AUTH_EDIT && $schema->isEditable()) {
|
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/ |
H A D | composer.lock | 486 "justinrainbow/json-schema": "^5.2",
|
/plugin/bez/syntax/ |
H A D | struct.php | 90 $schema = $data['schemas'][0][0]; 94 $factory = $model->factory($schema);
|
/plugin/confmanager/lang/nl/ |
H A D | scheme.txt | 1 …RLs maar alleen voor bekende protocollen. [[doku>nl:urlschemes|Meer informatie over URL schema's]].
|
/plugin/xlsx2dw/packages/xlsx/ |
H A D | xlsx.mjs | 5858 ContentStatus: 'ContentStatus', /* NOTE: missing from schema */ 5859 Identifier: 'Identifier', /* NOTE: missing from schema */ 5860 Language: 'Language' /* NOTE: missing from schema */ 18374 case 'schema' /*case 'Schema'*/: //case 'data' /*case 'data'*/: 18765 /* MapInfo (schema) */ 18766 …case 'mapinfo' /*case 'MapInfo'*/: case 'schema' /*case 'Schema'*/: case 'data' /*case 'data'*/: s… 18778 case 'schema' /*case 'schema'*/:
|
/plugin/gallery/action/ |
H A D | prosemirror.php | 9 use dokuwiki\plugin\prosemirror\schema\Node; 23 if (!class_exists('\dokuwiki\plugin\prosemirror\schema\Node')) return;
|
/plugin/gallery/script/ |
H A D | prosemirror.js | 4 * Add our node to the document schema of the Prosemirror plugin 6 * @param {OrderedMap} nodes the nodes already in the schema 7 * @param {OrderedMap} marks the marks already in the schema 368 * Create MenuItemDispatcher that produces an MenuItem if available in a schema 376 this.isAvailable = function (schema) { argument 377 return Boolean(schema.nodes.dwplugin_gallery); 379 this.getMenuItem = function (schema) { 382 var isAllowed = window.Prosemirror.commands.setBlockTypeNoAttrCheck(schema.nodes.dwplugin_gallery)(state); 387 var defaultAttributes = Object.entries(schema.nodes.dwplugin_gallery.attrs) 411 dispatch(state.tr.replaceSelectionWith(schema 373 isAvailable(schema) global() argument [all...] |