Returns field configuration of the specified view in the object.

@param string $objectName
@param string $viewName

@return array|null
516816
public function getViewConfiguration($objectName, $viewName)
    {
        $modelConfiguration = $this->getModelConfiguration($objectName);
        if (isset($modelConfiguration['views'][$viewName])) {
            $viewConfiguration = $modelConfiguration['views'][$viewName];
            if (isset($viewConfiguration['fields']) === false) {
                $viewConfiguration['fields'] = array();
            }

            foreach ($viewConfiguration['fields'] as $i => $viewField) {
                $fieldConfiguration = $this->getField($objectName, $viewField['name'], false);
                if (is_array($fieldConfiguration)) {
                    $viewConfiguration['fields'][$i] = array_replace_recursive($fieldConfiguration, $viewField);
                }
            }
            usort($viewConfiguration['fields'], array($this, 'sortByLocation'));

            return $viewConfiguration;
        }
    }
382165
public function getShared($objectName)
    {
        if ($this->instantiated->has($objectName)) {
            return $this->instantiated->get($objectName);
        }
        
        throw new NotFoundException('Shared object with name: ":name" was not found', ['name' => $objectName]);
    }
24590
public function getField($fieldName)
    {
        $this->debug->group(__METHOD__, $fieldName);
        $field = false;
        if (\preg_match('|^(.*?)[/.](.*)$|', $fieldName, $matches)) {
            $pageName = $matches[1];
            $fieldName = $matches[2];
        } else {
            $pageName = $this->status['currentPageName'];
        }
        if ($pageName == $this->status['currentPageName'] && isset($this->currentFields[$fieldName])) {
            $field = &$this->currentFields[$fieldName];
            if (!\is_object($field)) {
                $field['pageI'] = $this->persist->get('i');
                $this->currentFields[$fieldName] = $this->buildField($field, $fieldName);
            }
        } elseif (isset($this->cfg['pages'][$pageName])) {
            $pages = $this->persist->get('pages');
            foreach ($pages as $pageI => $page) {
                if ($page['name'] != $pageName) {
                    continue;
                }
                foreach ($this->cfg['pages'][$pageName] as $k => $fieldProps) {
                    if ($k === $fieldName
                        || isset($fieldProps['attribs']['name']) && $fieldProps['attribs']['name'] == $fieldName
                        || isset($fieldProps['name']) && $fieldProps['name'] == $fieldName
                    ) {
                        $this->debug->info('found field');
                        $fieldProps['pageI'] = $pageI;
                        $field = $this->buildField($fieldProps, $k);
                        $val = $this->getValue($fieldName, $pageI);
                        $field->val($val, false);
                        break 2;
                    }
                }
                break;
            }
        }
        $this->debug->groupEnd();
        return $field;
    }
1239629
private function getViewStructureTable($viewName)
    {
        if (!$this->dumpSettings['skip-comments']) {
            $ret = "--".PHP_EOL.
                "-- Stand-In structure for view `${viewName}`".PHP_EOL.
                "--".PHP_EOL.PHP_EOL;
            $this->compressManager->write($ret);
        }
        $stmt = $this->typeAdapter->show_create_view($viewName);

        // create views as tables, to resolve dependencies
        foreach ($this->dbHandler->query($stmt) as $r) {
            if ($this->dumpSettings['add-drop-table']) {
                $this->compressManager->write(
                    $this->typeAdapter->drop_view($viewName)
                );
            }

            $this->compressManager->write(
                $this->createStandInTable($viewName)
            );
            break;
        }
    }
281159
public function & GetField ($fieldName = '') {
		$result = NULL;
		if (isset($this->fields[$fieldName]))
			$result = & $this->fields[$fieldName];
		return $result;
	}
403775
public function parser(string $className, $objectAnnotation = null, string $propertyName = "", string $methodName = "", $propertyValue = null)
    {
        $name     = $objectAnnotation->getName();
        $scope    = $objectAnnotation->getScope();
        $ref      = $objectAnnotation->getRef();
        $beanName = empty($name) ? $className : $name;

        return [$beanName, $scope, $ref];
    }
1098155
protected View getView(String viewName) {
        for (View view: solo.getCurrentViews()) {
            if (view.toString().contains(viewName)) {
                return view;
            }
        }

        return null;
    }
618807
public function getConfigurationFor($propertyName)
    {
        if (isset($this->subConfigurationForProperty[$propertyName])) {
            return $this->subConfigurationForProperty[$propertyName];
        } elseif (isset($this->subConfigurationForProperty[self::PROPERTY_PATH_PLACEHOLDER])) {
            return $this->subConfigurationForProperty[self::PROPERTY_PATH_PLACEHOLDER];
        }

        return new PropertyMappingConfiguration();
    }
914167
public function parser(string $className, $objectAnnotation = null, string $propertyName = "", string $methodName = "", $propertyValue = null)
    {
        $scope    = Scope::PROTOTYPE;
        $name     = $objectAnnotation->getName();
        $beanName = empty($name) ? $className : $name;

        ProcessCollector::collect($className, $objectAnnotation, $propertyName, $methodName, $propertyValue);

        return [$beanName, $scope, ""];
    }
1042111
public function getInstance($objectName)
    {
        return isset($this->objects[$objectName]['i']) ? $this->objects[$objectName]['i'] : null;
    }
986060
public function hasField($objectName, $fieldName)
    {
        $field = $this->getField($objectName, $fieldName);

        return is_array($field);
    }
1321389
private function getField($fieldname)
    {
        if (array_key_exists($fieldname, $this->colmodel)) {
            return $this->colmodel[$fieldname];
        } else {
            return false;
        }
    }
988171
public static function objectsMethodValues(array $objectArray, string $methodName): array
    {
        $methodValues = [];

        foreach ($objectArray as $object) {
            $methodValues[] = $object->$methodName();
        }

        return $methodValues;
    }
13574
protected function getGenericDate($fieldName, $objectName = "object")
    {
        $date = $this->{$objectName}->{ "get".$fieldName}();
        $this->out[$fieldName] = $date ? $date->format(SPL_T_DATECAST) : "";

        return $this;
    }
990335
private function getListViewConfigurationValue($fieldName)
    {
        if (empty($fieldName)) {
            throw new \InvalidArgumentException('$fieldName must not be empty.', 1331489528);
        }

        if (!isset($this->conf['listView.'])
            || !isset($this->conf['listView.'][$fieldName])
        ) {
            return '';
        }

        return $this->conf['listView.'][$fieldName];
    }
1122920
public function parser(string $className, $objectAnnotation = null, string $propertyName = "", string $methodName = "", $propertyValue = null)
    {
        $beanName = $className;
        $scope    = Scope::SINGLETON;

        BootstrapCollector::collect($className, $objectAnnotation, $propertyName, $methodName, $propertyValue);

        return [$beanName, $scope, ""];
    }
116278
protected function getGeneric($fieldName, $objectName = "object")
    {
        $this->out[$fieldName] = $this->{$objectName}->{ "get".$fieldName}();

        return $this;
    }