| /plugin/sequencediagram/bower_components/lodash/vendor/backbone/test/ |
| D | model.js | 3 var ProxyModel = Backbone.Model.extend(); 9 QUnit.module('Backbone.Model', { 26 var Model = Backbone.Model.extend({ 32 var model = new Model({}, {collection: collection}); 33 assert.equal(model.one, 1); 34 assert.equal(model.collection, collection); 39 var model = new Backbone.Model({hasOwnProperty: true}); 40 assert.equal(model.get('hasOwnProperty'), true); 45 var Model = Backbone.Model.extend({ 50 var model = new Model({}, {one: 1}); [all …]
|
| D | collection.js | 8 a = new Backbone.Model({id: 3, label: 'a'}); 9 b = new Backbone.Model({id: 2, label: 'b'}); 10 c = new Backbone.Model({id: 1, label: 'c'}); 11 d = new Backbone.Model({id: 0, label: 'd'}); 30 col.comparator = function(model) { return model.id; }; 63 QUnit.test('clone preserves model and comparator', function(assert) { 65 var Model = Backbone.Model.extend(); 66 var comparator = function(model){ return model.id; }; argument 69 model: Model, property 73 assert.ok(collection.at(0) instanceof Model); [all …]
|
| D | sync.js | 78 var data = JSON.parse(this.ajaxSettings.data.model); 106 var data = JSON.parse(this.ajaxSettings.data.model); 112 QUnit.test('read model', function(assert) { 144 var model = new Backbone.Model(); 146 model.fetch(); 148 model.fetch({url: '/one/two'}); 154 var model = new Backbone.Model(); 155 model.url = '/test'; 156 Backbone.sync('create', model); 164 var model = new Backbone.Model(); [all …]
|
| /plugin/statistics/vendor/matomo/device-detector/regexes/device/ |
| D | mobiles.yml | 14 model: 'Buzz $1 Ultra' 16 model: 'Buzz $1 Note' 18 model: 'Buzz $1 Prime' 20 model: 'Buzz 5 Pro+' 22 model: 'Buzz $1 Pro' 24 model: 'Buzz $1 Lite' 26 model: 'Buzz $1 Plus' 28 model: 'Buzz 4S' 30 model: 'Buzz $1' 32 model: 'Clever $1' [all …]
|
| D | televisions.yml | 17 model: '$1' 25 model: 'Smart TV ($1)' 33 model: '' 35 model: 'Smart TV ($1)' 43 model: '$1' 49 model: '' 55 model: '' 63 model: '$1' 71 model: 'Smart TV ($1)' 79 model: '$1' [all …]
|
| D | notebooks.yml | 13 model: 'Aspire E5-421G' 15 model: 'Aspire E5-511' 17 model: 'One 10' 24 model: 'K50IN' 26 model: 'K54L' 28 model: 'Transformer Book' 30 model: 'Transformer Mini' 32 model: 'ZenBook Flip' 34 model: 'X550LB' 36 model: 'X553MA' [all …]
|
| D | portable_media_player.yml | 13 model: 'iPod Touch 1G' 15 model: 'iPod Touch 2G' 17 model: 'iPod Touch 3' 19 model: 'iPod Touch 4' 21 model: 'iPod Touch 5' 23 model: 'iPod Touch 6' 25 model: 'iPod Touch 7' 27 model: 'iPod Touch' 32 model: '$1' 40 model: 'M11 Plus LTD' [all …]
|
| D | shell_tv.yml | 15 model: '' 21 model: '' 27 model: '' 33 model: '' 39 model: '' 45 model: '' 51 model: '' 57 model: '' 63 model: '' 69 model: '' [all …]
|
| D | consoles.yml | 11 model: 'Gamepad $1' 18 model: 'Xbox Series X' 20 model: 'Xbox One X' 22 model: 'Xbox One' 24 model: 'Xbox One S' 26 model: 'Xbox 360' 31 model: '$1' 36 model: 'OUYA' 41 model: '3DO TRY' 48 model: 'Dreamcast' [all …]
|
| /plugin/authgooglesheets/vendor/google/apiclient-services/src/Bigquery/Resource/ |
| D | Models.php | 21 use Google\Service\Bigquery\Model; alias 34 * Deletes the model specified by modelId from the dataset. (models.delete) 36 * @param string $projectId Required. Project ID of the model to delete. 37 * @param string $datasetId Required. Dataset ID of the model to delete. 38 * @param string $modelId Required. Model ID of the model to delete. 48 * Gets the specified model resource by model ID. (models.get) 50 * @param string $projectId Required. Project ID of the requested model. 51 * @param string $datasetId Required. Dataset ID of the requested model. 52 * @param string $modelId Required. Model ID of the requested model. 54 * @return Model [all …]
|
| /plugin/bez/mdl/ |
| H A D | SubscriptionFactory.php | 12 $r = $this->model->sqlite->query($q, $token); 13 return $this->model->sqlite->res2single($r); 24 $this->model->sqlite->query($q, $user_id); 27 if ($this->model->get_level() < BEZ_AUTH_USER) { 31 $this->model->sqlite->query($q, $this->model->user_nick); 37 if ($this->model->get_level() < BEZ_AUTH_USER) { 41 $this->model->sqlite->query($q, $this->model->user_nick); 45 if ($this->model->get_level() < BEZ_AUTH_USER) { 50 $r = $this->model->sqlite->query($q, $this->model->user_nick); 51 $mute = $this->model->sqlite->res2single($r); [all …]
|
| H A D | Thread.php | 56 if ($this->coordinator === $this->model->user_nick || 57 $this->model->get_level() >= BEZ_AUTH_ADMIN) { 63 public function __construct($model, $defaults=array()) { argument 64 parent::__construct($model); 75 $this->original_poster = $this->model->user_nick; 87 if ($this->model->get_level() >= BEZ_AUTH_LEADER) { 98 if ($this->model->level < BEZ_AUTH_ADMIN && $this->private == '1') { 99 if ($this->get_participant($this->model->user_nick) === false) { 105 if ($this->state == 'proposal' && $this->original_poster == $this->model->user_nick) { 111 if ($this->coordinator == $this->model->user_nick) { [all …]
|
| H A D | Task.php | 68 $this->thread = $this->model->threadFactory->get_one($this->thread_id); 77 … $this->thread_comment = $this->model->thread_commentFactory->get_one($this->thread_comment_id); 87 public function __construct($model, $defaults=array()) { argument 88 parent::__construct($model, $defaults); 105 $this->original_poster = $this->model->user_nick; 157 if ($this->type == 'program' && $this->model->get_level() >= BEZ_AUTH_LEADER) { 162 if ($this->type != 'program' && $this->coordinator == $this->model->user_nick) { 194 if ($this->model->level < BEZ_AUTH_ADMIN && $this->private == '1') { 195 if ($this->get_participant($this->model->user_nick) === false && 196 …($this->thread_id != '' && $this->__get('thread')->get_participant($this->model->user_nick) === fa… [all …]
|
| /plugin/aichat/_test/ |
| D | AbstractModelTest.php | 5 use dokuwiki\plugin\aichat\Model\ChatInterface; 6 use dokuwiki\plugin\aichat\Model\EmbeddingInterface; 10 * Base for Model provider tests 27 /** @var string The chat model name, e.g. 'gpt-3.5-turbo', 'gpt-4', etc. */ 30 /** @var string The embedding model name, e.g. 'text-embedding-3-small', etc. */ 65 $model = $helper->getChatModel(); 67 … $this->assertInstanceOf(ChatInterface::class, $model, 'Model should implement ChatInterface'); 69 'dokuwiki\\plugin\\aichat\\Model\\' . $this->provider . '\\ChatModel', 70 get_class($model), 71 'Model seems to be the wrong class' [all …]
|
| /plugin/sequencediagram/bower_components/lodash/vendor/backbone/ |
| D | backbone.js | 67 // `application/x-www-form-urlencoded` instead and will send the model in a 68 // form param named `model`. 71 // Proxy Backbone class methods to Underscore functions, wrapping the model's 74 // collection.filter(function(model) { return model.get('age') > 10 }); 109 if (_.isString(iteratee)) return function(model) { return model.get(iteratee); }; 114 return function(model) { argument 115 return matcher(model.attributes); 384 // Backbone.Model 392 // Create a new model with the specified attributes. A client id (`cid`) 394 var Model = Backbone.Model = function(attributes, options) { [all …]
|
| /plugin/bez/ctl/ |
| H A D | thread.php | 6 if ($this->model->get_level() < BEZ_AUTH_USER) { 15 $thread = $this->model->threadFactory->get_one($this->get_param('id')); 26 $thread_comments = iterator_to_array($this->model->thread_commentFactory->get_from_thread($thread)); 27 $tasks = $this->model->taskFactory->get_from_thread($thread); 39 $this->tpl->set('task_programs', $this->model->task_programFactory->get_all([], 'name')); 42 $thread_comment = $this->model->thread_commentFactory->create_object(array('thread' => $thread)); 47 $this->model->thread_commentFactory->initial_save($thread_comment, $_POST); 54 $thread->set_participant_flags($this->model->user_nick, array('subscribent')); 59 $thread->remove_participant_flags($this->model->user_nick, array('subscribent')); 68 …$this->add_notification($this->model->userFactory->get_user_email($client), $this->getLang('invita… [all …]
|
| H A D | start.php | 6 if ($this->model->get_level() < BEZ_AUTH_USER) { 48 $threads = $this->model->threadFactory->get_all($filter, 'create_date DESC'); 49 $thread_comments = $this->model->thread_commentFactory->get_all($filter, 'create_date DESC'); 50 $tasks = $this->model->taskFactory->get_all($filter, 'create_date DESC'); 51 $task_comments = $this->model->task_commentFactory->get_all($filter, 'create_date DESC'); 107 $proposals = $this->model->threadFactory->get_all($filter, $orderby); 109 $this->tpl->set('proposals_count', $this->model->threadFactory->count($filter)); 112 $filter = array('state' => 'opened', 'coordinator' => $this->model->user_nick); 113 $my_threads = $this->model->threadFactory->get_all($filter, $orderby); 115 $this->tpl->set('my_threads_count', $this->model->threadFactory->count($filter)); [all …]
|
| H A D | task.php | 6 if ($this->model->get_level() < BEZ_AUTH_USER) { 15 $task = $this->model->taskFactory->get_one($this->get_param('tid')); 17 $this->tpl->set('task_comments', $this->model->task_commentFactory->get_from_task($task)); 18 $this->tpl->set('task_programs', $this->model->task_programFactory->get_all([], 'name')); 23 $task_comment = $this->model->task_commentFactory->create_object(array('task' => $task)); 24 $this->model->task_commentFactory->initial_save($task_comment, $_POST); 31 $task->set_participant_flags($this->model->user_nick, array('subscribent')); 36 $task->remove_participant_flags($this->model->user_nick, array('subscribent')); 45 …$this->add_notification($this->model->userFactory->get_user_email($client), $this->getLang('invita… 52 $name = $this->model->userFactory->get_user_full_name($user_id); [all …]
|
| /plugin/diagramsnet/lib/plugins/webcola/ |
| D | mxWebColaLayout.js | 106 var model = graph.getModel(); 107 var cells = model.cells; 109 model.beginUpdate(); 119 var geometry = model.getGeometry(cell); 124 model.setGeometry(cell, geometry); 131 model.endUpdate(); 135 mxWebColaLayout.prototype.getGroupBounds = function(model, groupCell) argument 138 * @param model graph model 158 var geometry = model.getGeometry(child); 188 var groupGeometry = model.getGeometry(groupCell); [all …]
|
| /plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudMachineLearningEngine/Resource/ |
| D | ProjectsModelsVersions.php | 36 * Creates a new version of a model from a trained TensorFlow model. If the 38 * the specified model, it will be made the default version of the model. When 39 * you add a version to a model that already has one or more versions, the 44 * @param string $parent Required. The name of the model. 56 * Deletes a model version. Each model can have multiple versions deployed and 58 * You cannot delete the version that is set as the default version of the model 62 * of all the versions of a model by calling projects.models.versions.list. 73 * Gets information about a model version. Models can have multiple versions. 75 * this method returns for all of the versions of a model. (versions.get) 88 * Gets basic information about all the versions of a model. If you expect that [all …]
|
| /plugin/authgooglesheets/vendor/google/apiclient-services/src/Contactcenterinsights/Resource/ |
| D | ProjectsLocationsIssueModels.php | 38 * Gets an issue model's statistics. (issueModels.calculateIssueModelStats) 40 * @param string $issueModel Required. The resource name of the issue model to 52 * Creates an issue model. (issueModels.create) 54 * @param string $parent Required. The parent resource of the issue model. 66 * Deletes an issue model. (issueModels.delete) 68 * @param string $name Required. The name of the issue model to delete. 79 * Deploys an issue model. Returns an error if a model is already deployed. An 80 * issue model can only be used in analysis after it has been deployed. 83 * @param string $name Required. The issue model to deploy. 95 * Gets an issue model. (issueModels.get) [all …]
|
| /plugin/aichat/cli/ |
| D | dev.php | 19 $options->registerCommand('update', 'Update the model data'); 44 $this->error('Failed to fetch model data'); 81 file_get_contents(__DIR__ . '/../Model/' . $data['name'] . '/' . 'models.json'), 87 foreach ($models as $model => $data) { 91 $model = explode('/', $model); 92 $model = array_pop($model); 94 …(isset($ourProviders[$provider]['skip']) && preg_match($ourProviders[$provider]['skip'], $model)) { 95 $this->info('Skipping ' . $provider . ' ' . $model); 98 $this->success("$provider $model"); 100 $oldmodel = $ourProviders[$provider]['models'][$data['mode']][$model] ?? []; [all …]
|
| /plugin/fksnewsfeed/inc/ORM/ |
| D | ModelNews.php | 3 namespace FYKOS\dokuwiki\Extension\PluginNewsFeed\Model; 113 $model = new self($helperPluginSqlite); 114 $model->newsId = $data['news_id']; 115 $model->title = $data['title']; 116 $model->authorName = $data['author_name']; 117 $model->authorEmail = $data['author_email']; 118 $model->text = $data['text']; 119 $model->newsDate = $data['news_date']; 120 $model->image = $data['image']; 121 $model->category = $data['category']; [all …]
|
| D | ModelPriority.php | 3 namespace FYKOS\dokuwiki\Extension\PluginNewsFeed\Model; 38 $model = new self($helperPluginSqlite); 39 $model->priorityId = $data['priority_id']; 40 $model->newsId = $data['news_id']; 41 $model->streamId = $data['stream_id']; 42 $model->priorityValue = $data['priority'] ?? 0; 43 $model->priorityFrom = $data['priority_from']; 44 $model->priorityTo = $data['priority_to']; 46 return $model;
|
| /plugin/quickstats/GEOIP/vendor/geoip2/geoip2/src/Database/ |
| D | Reader.php | 21 * If the request succeeds, the method call will return a model class for 22 * the method you called. This model in turn contains multiple record classes, 58 * This method returns a GeoIP2 City model. 67 * @return \GeoIp2\Model\City 75 * This method returns a GeoIP2 Country model. 84 * @return \GeoIp2\Model\Country 92 * This method returns a GeoIP2 Anonymous IP model. 101 * @return \GeoIp2\Model\AnonymousIp 113 * This method returns a GeoLite2 ASN model. 122 * @return \GeoIp2\Model\Asn [all …]
|