private function loadAllColumnsSchema()
    {
        $schema = $this->tableSchema[ 'fields' ];

        foreach ($this->request[ 'leftJoin' ] as $value) {
            $schemaTable = $this->schema->getSchemaTable($value[ 'table' ]);
            $schema      = array_merge($schema, $schemaTable[ 'fields' ]);
        }

        foreach ($this->request[ 'rightJoin' ] as $value) {
            $schemaTable = $this->schema->getSchemaTable($value[ 'table' ]);
            $schema      = array_merge($schema, $schemaTable[ 'fields' ]);
        }

        $this->request[ 'allColumnsSchema' ] = $schema;
    }
private function loadAllColumnsSchema()
    {
        $schema = $this->tableSchema[ 'fields' ];

        foreach ($this->request[ 'leftJoin' ] as $value) {
            $schemaTable = $this->schema->getSchemaTable($value[ 'table' ]);
            $schema      = array_merge($schema, $schemaTable[ 'fields' ]);
        }

        foreach ($this->request[ 'rightJoin' ] as $value) {
            $schemaTable = $this->schema->getSchemaTable($value[ 'table' ]);
            $schema      = array_merge($schema, $schemaTable[ 'fields' ]);
        }

        $this->request[ 'allColumnsSchema' ] = $schema;
    }
private function loadAllColumnsSchema ( ) { $ schema = $ this -> tableSchema [ 'fields' ] ; foreach ( $ this -> request [ 'leftJoin' ] as $ value ) { $ schemaTable = $ this -> schema -> getSchemaTable ( $ value [ 'table' ] ) ; $ schema = array_merge ( $ schema , $ schemaTable [ 'fields' ] ) ; } foreach ( $ this -> request [ 'rightJoin' ] as $ value ) { $ schemaTable = $ this -> schema -> getSchemaTable ( $ value [ 'table' ] ) ; $ schema = array_merge ( $ schema , $ schemaTable [ 'fields' ] ) ; } $ this -> request [ 'allColumnsSchema' ] = $ schema ; }
Charge les colonnes de la table courante et des tables de jointure.
Charge les colonnes de la table courante et des tables de jointure .