/plugin/structtasks/meta/ |
H A D | Utilities.php | 41 * @param mixed $schema 43 function isValidSchema($schema): bool { argument 45 $s = $schemas_found[$schema]; 88 function dateFormat($schema) { argument 90 $this->isValidSchema($schema); 92 return $this->duedate_formats[$schema]; 101 if (!$this->isValidSchema($schema)) { 106 if (!array_key_exists($schema, $old_data) or !array_key_exists($schema, $new_data)) { 109 $dateformat = $this->dateFormat($schema); 110 $old_data[$schema]['date_format'] = [all …]
|
/plugin/mobiletable/ |
H A D | action.php | 49 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/ |
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...] |
H A D | remote.php | 38 * @param string $schema The schema to use empty for all 40 * @return array ('schema' => ( 'fieldlabel' => 'value', ...)) 44 public function getData($page, $schema, $time) 52 if (!$schema) $schema = null; 55 return $this->hlp->getData($page, $schema, $time); 70 * @param array $data ('schema' => ( 'fieldlabel' => 'value', ...)) 98 * @param string $schema the schema t 41 getData($page, $schema, $time) global() argument 100 getSchema($schema = null) global() argument [all...] |
/plugin/struct/meta/ |
H A D | AccessTable.php | 18 protected $schema; variable in dokuwiki\\plugin\\struct\\meta\\AccessTable 59 $schema = new Schema($tablename, $ts); 60 return new AccessTablePage($schema, $pid, $ts, 0); 65 $schema = new Schema($tablename, 0); 66 return new AccessTableSerial($schema, $pid, 0, $rid); 71 $schema = new Schema($tablename, 0); 72 return new AccessTableGlobal($schema, '', 0, $rid); 78 * @param Schema $schema schema to load 85 public static function bySchema(Schema $schema, argument 124 __construct($schema, $pid, $ts = 0, $rid = 0) global() argument [all...] |
H A D | SchemaEditor.php | 13 * schema happens in the SchemaBuilder class. 19 /** @var Schema the schema that is edited */ variable in dokuwiki\\plugin\\struct\\meta\\SchemaEditor 20 protected $schema; 27 * @param Schema $schema 29 public function __construct(Schema $schema) 31 $this->schema = $schema; 36 * Returns the Admin Form to edit the schema 48 $form->setHiddenField('table', $this->schema->getTable()); 49 $form->setHiddenField('schema[i 28 __construct(Schema $schema) global() argument [all...] |
/plugin/scrape/HTMLPurifier/ConfigSchema/Builder/ |
H A D | ConfigSchema.php |
|
/plugin/struct/admin/ |
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...] |
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();
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Pubsub/ |
H A D | SchemaSettings.php | 29 public $schema; variable in Google\\Service\\Pubsub\\SchemaSettings 48 public function setSchema($schema) argument 50 $this->schema = $schema; 57 return $this->schema;
|
H A D | ValidateSchemaRequest.php | 28 public function setSchema(Schema $schema) argument 30 $this->schema = $schema; 37 return $this->schema;
|
H A D | ValidateMessageRequest.php | 82 public function setSchema(Schema $schema) argument 84 $this->schema = $schema; 91 return $this->schema;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Datastream/ |
H A D | OracleObjectIdentifier.php | 25 public $schema; variable in Google\\Service\\Datastream\\OracleObjectIdentifier 34 public function setSchema($schema) argument 36 $this->schema = $schema; 43 return $this->schema;
|
H A D | OracleSchema.php | 28 public $schema; variable in Google\\Service\\Datastream\\OracleSchema 47 public function setSchema($schema) argument 49 $this->schema = $schema; 56 return $this->schema;
|
/plugin/struct/action/ |
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 | ajax.php | 69 [$schema, $colname] = explode('.', $col, 2); 70 if (blank($schema) || blank($colname)) throw new StructException('Column format is wrong'); 72 $schema = new Schema($schema); 73 if (!$schema->getId()) throw new StructException('Unknown Schema'); 75 $column = $schema->findColumn($colname);
|
/plugin/structtasks/_test/ |
H A D | UtilitiesTest.php | 38 function testIsValidSchema($schema) { argument 39 $this->assertFalse($this->util->isValidSchema($schema)); 40 $this->loadSchemaJSON($schema); 41 $this->assertTrue($this->util->isValidSchema($schema)); 47 function testIsInvalidSchema($schema) { argument 48 $this->assertFalse($this->util->isValidSchema($schema)); 49 $this->loadSchemaJSON($schema); 50 $this->assertFalse($this->util->isValidSchema($schema)); 150 function testGetMetadataInvalid($page, $schema) { argument 151 …list($old_data, $new_data, $valid) = $this->util->getMetadata($page, $schema, $this->rev1, $this->…
|
H A D | StructtasksTest.php | 17 * @param string $schema 22 protected function loadSchemaJSON($schema, $json = '', $rev = 0) argument 24 if (!$json) $json = $schema; 31 $importer = new SchemaImporter($schema, $json); 34 throw new \RuntimeException("build of $schema from $file failed");
|
/plugin/structtasks/ |
H A D | cli.php | 18 private $schema; variable in cli_plugin_structtasks 52 $tasks = $this->struct->getPages($this->schema); 69 $this->schema = $this->getConf('schema'); 70 if ($this->schema == '') return false; 74 if (!$this->util->isValidSchema($this->schema)) { 76 sprintf($this->getLang('msg_invalid_schema'), $this->schema)); 80 sprintf($this->getLang('msg_handling_schema'), $this->schema)); 81 $this->dateformat = $this->util->dateFormat($this->schema); 135 $structdata = $this->struct->getData($task, $this->schema)[$this->schema];
|
/plugin/diagrams/script/ |
H A D | DiagramsMenuItemDispatcher.js | 9 * Check if the schema is available 11 * @param schema 14 static isAvailable(schema) { argument 15 return !!schema.nodes.diagrams; 41 * @param schema 44 static getMenuItem(schema) { argument 45 if (!this.isAvailable(schema)) { 53 if (!$from.parent.canReplaceWith(index, index, schema.nodes.diagrams)) { 72 schema.nodes.diagrams.create(attributes)
|
/plugin/structpublish/meta/ |
H A D | Revision.php | 19 protected $schema; variable in dokuwiki\\plugin\\structpublish\\meta\\Revision 48 $this->schema = new Schema('structpublish'); 49 $this->statusCol = $this->schema->findColumn('status'); 50 $this->versionCol = $this->schema->findColumn('version'); 51 $this->userCol = $this->schema->findColumn('user'); 52 $this->datetimeCol = $this->schema->findColumn('datetime'); 53 $this->revisionCol = $this->schema->findColumn('revision'); 224 $schema = new Schema('structpublish', 0); 225 $access = new AccessTableStructpublish($schema, $pid, 0, $rid); 231 * Fetches data from the structpublish schema fo [all...] |
/plugin/structacl/ |
H A D | helper.php | 7 * Convert config lines "schema.field name" into an array 23 list($schema, $field) = explode(self::STRUCTACL_SEPCHAR, $line, 2); 24 $config[$schema] = $config[$schema] ?? []; 25 $config[$schema][] = $field;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudSearch/ |
H A D | UpdateSchemaRequest.php | 48 public function setSchema(Schema $schema) argument 50 $this->schema = $schema; 57 return $this->schema;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudHealthcare/ |
H A D | ParserConfig.php | 54 public function setSchema(SchemaPackage $schema) argument 56 $this->schema = $schema; 63 return $this->schema;
|
/plugin/structstatus/ |
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'];
|