Gets the models data.

@return array
545528
public function data()
    {
        $data = array();
        foreach (array_keys(static::schema()) as $column) {
            if (isset($this->{$column})) {
                $data[$column] = $this->{$column};
            }
        }
        return $data;
    }
97507
public function get_data() {
		$settings = $this->get_settings()[ $this->number ];

		return array_merge(
			[ 'title' => $settings['title'] ],
			Acf::get_widget_field( $this->id )
		);
	}
73879
public function getEager()
    {
        foreach (array_keys($this->dictionary) as $type) {
            $this->matchToMorphParents($type, $this->getResultsByType($type));
        }

        return $this->models;
    }
1171727
public function getData()
    {
        if (!$this->data && $this->dataProvider) {
            return call_user_func($this->dataProvider, $this);
        }
        return $this->data;
    }
265383
public function getData()
    {
        parent::getData();

        $data = array(
            'amount' => $this->getAmountInteger(),
            'country' => $this->getCountry(),
            'currency' => $this->getCurrency(),
        );

        return array_filter($data);
    }
947374
public function getModelsToLoad()
    {
        $returnValue = array();

		foreach ($this->getEnabledExtensions() as $ext) {
			$returnValue = array_merge($returnValue, $ext->getManifest()->getModels());
		}
		$returnValue = array_unique($returnValue);

        return (array) $returnValue;
    }
891925
public function getData() : array
    {
        $data = [];

        if ($this->getRequest()->getMethod() == Request::METHOD_POST) {
            $data = $_POST ?: [];
        }

        return $data;
    }
411315
public function getData()
    {
        $this->validateParams();

        $data = $this->filter($this->parameters->all());

        $data['service']   = $this->service;
        $data['sign']      = $this->sign($data, $this->getSignType());
        $data['sign_type'] = $this->getSignType();

        return $data;
    }
875892
public function getData()
    {
        if (empty($this->data)) {
            $this->data = [
                'project' => $this->getComposerData()->name
            ];
            $this->data = array_merge($this->data, $this->getAuthor());
        }
        return $this->data;
    }
1067814
final protected function getDataFromScheme()
    {
        if (empty($this->scheme) || empty($this->scheme['fields'])) {
            Throw new ModelException('There is no scheme/fields in scheme in this model');
        }

        $data = [];

        foreach ($this->scheme['fields'] as $key => $field) {
            $data[$key] = !empty($field['default']) ? $field['default'] : '';
        }

        return $data;
    }
135457
public function getModelColumns()
    {
        $model = $this->getForeignModelInstance();
        $columns = [];
        if ($this->isModel($model)) {
            // At this point we know a model class exists
            // Try to get the database column listing from the database directly
            $tableName = $model->getTable();
            $columns = DB::getSchemaBuilder()->getColumnListing($tableName);
        }

        if (count($columns) == 0) {
            // At this poing we know the column have not yet been identified
            // which also mean that the model does not exists or the table
            // does not existing in the database.
            // Try to find the columns from the resource-file if one found.
            $columns = $this->getFieldNamesFromResource();
        }

        return $columns;
    }
456213
public function getData()
    {
        $result = [
            'type' => $this->type
        ];

        switch($this->type)
        {

            case self::TYPE_WEB:
              $result['url'] = $this->url;

              if ($this->webview_height_ratio) {
                  $result['webview_height_ratio'] = $this->webview_height_ratio;
              }

              if ($this->messenger_extensions){
                  $result['messenger_extensions'] = $this->messenger_extensions;
                  $result['fallback_url'] = $this->fallback_url;
              }
            break;

        }

        return $result;
    }
348244
protected function getModels()
    {
        if ($this->_models === null) {
            $this->_models = [];
            $a = [];
            $timings = Yii::getLogger()->calculateTimings($this->data['messages']);

            foreach ($timings as $seq => $profileTiming) {
                $key = md5($profileTiming['category'] . $profileTiming['info']);
                if (!isset($a[$key])) {
                    $a[$key] =  [
                        'durations' => [], // in milliseconds
                        'category' => $profileTiming['category'],
                        'info' => $profileTiming['info'],
                        'level' => $profileTiming['level'],
                        'seq' => $seq,
                    ];
                }
                $a[$key]['durations'][] = $profileTiming['duration'] * 1000;
            }

            foreach (array_values($a) as $seq => $profileTiming) {
                $this->_models[] =  [
                    'maxDuration' => max($profileTiming['durations']), // in milliseconds
                    'minDuration' => min($profileTiming['durations']), // in milliseconds
                    'avgDuration' => array_sum($profileTiming['durations']) / count($profileTiming['durations']), // in milliseconds
                    'totalDuration' => array_sum($profileTiming['durations']), // in milliseconds
                    'number' => count($profileTiming['durations']),
                    'category' => $profileTiming['category'],
                    'info' => $profileTiming['info'],
                    'level' => $profileTiming['level'],
                    'seq' => $seq,
                ];
            }
        }

        return $this->_models;
    }
533083
public function getDataAttributes()
    {
        $attributes = [];
        
        foreach ($this->getFieldConfig() as $key => $value) {
            $attributes[sprintf('data-%s', $key)] = $this->getDataValue($value);
        }
        
        return $attributes;
    }
277617
public function getData()
    {
        $this->validateParams();

        $this->setDefaults();

        $this->convertToString();

        $data = $this->parameters->all();

        $data['method'] = $this->method;

        ksort($data);

        $data['sign'] = $this->sign($data, $this->getSignType());

        return $data;
    }
280617
public function data()
    {
        return [
            'property'  => $this->property(),
            'table'     => $this->table(),
            'direction' => $this->direction(),
            'mode'      => $this->mode(),
            'values'    => $this->values(),
            'condition' => $this->condition(),
            'active'    => $this->active(),
            'name'      => $this->name(),
        ];
    }
655262
protected function getData()
    {
        if (empty($this->data) || !is_array($this->data)) {
            $this->init();
        }

        return $this->data;
    }