public function getFieldNamesByView($objectName, $viewName)
    {
        $fieldNames = array();
        $fieldConfigurations = $this->getFieldsByView($objectName, $viewName);
        foreach ($fieldConfigurations as $fieldConfiguration) {
            array_push($fieldNames, $fieldConfiguration['name']);
        }

        return $fieldNames;
    }
public function getFieldNamesByView($objectName, $viewName)
    {
        $fieldNames = array();
        $fieldConfigurations = $this->getFieldsByView($objectName, $viewName);
        foreach ($fieldConfigurations as $fieldConfiguration) {
            array_push($fieldNames, $fieldConfiguration['name']);
        }

        return $fieldNames;
    }
public function getFieldNamesByView ( $ objectName , $ viewName ) { $ fieldNames = array ( ) ; $ fieldConfigurations = $ this -> getFieldsByView ( $ objectName , $ viewName ) ; foreach ( $ fieldConfigurations as $ fieldConfiguration ) { array_push ( $ fieldNames , $ fieldConfiguration [ 'name' ] ) ; } return $ fieldNames ; }
Returns the field names of the specified view in the object.

@param string $objectName
@param string $viewName

@return array
Returns the field names of the specified view in the object .