Lines Matching defs:schema
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' => ( 'fieldlabel' => 'value', ...))
115 // make sure this schema is assigned
129 throw new StructException('lookup save error: no permission for schema');
163 * @param string|null $schema the schema to query, null for all
167 public static function getSchema($schema = null)
169 if (is_null($schema)) {
172 $schemas = [$schema];
187 * @param string|null $schema limit the result to a given schema
188 * @return array (page => (schema => true), ...)
191 public function getPages($schema = null)
194 return $assignments->getPages($schema);