"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ORM/Query.php" between
cakephp-3.8.2.tar.gz and cakephp-3.8.3.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

Query.php  (cakephp-3.8.2):Query.php  (cakephp-3.8.3)
skipping to change at line 234 skipping to change at line 234
/** /**
* All the fields associated with the passed table except the excluded * All the fields associated with the passed table except the excluded
* fields will be added to the select clause of the query. Passed excluded f ields should not be aliased. * fields will be added to the select clause of the query. Passed excluded f ields should not be aliased.
* After the first call to this method, a second call cannot be used to remo ve fields that have already * After the first call to this method, a second call cannot be used to remo ve fields that have already
* been added to the query by the first. If you need to change the list afte r the first call, * been added to the query by the first. If you need to change the list afte r the first call,
* pass overwrite boolean true which will reset the select clause removing a ll previous additions. * pass overwrite boolean true which will reset the select clause removing a ll previous additions.
* *
* *
* *
* @param \Cake\ORM\Table|\Cake\ORM\Association $table The table to use to g et an array of columns * @param \Cake\ORM\Table|\Cake\ORM\Association $table The table to use to g et an array of columns
* @param array $excludedFields The un-aliased column names you do not want selected from $table * @param string[] $excludedFields The un-aliased column names you do not wa nt selected from $table
* @param bool $overwrite Whether to reset/remove previous selected fields * @param bool $overwrite Whether to reset/remove previous selected fields
* @return Query * @return Query
* @throws \InvalidArgumentException If Association|Table is not passed in f irst argument * @throws \InvalidArgumentException If Association|Table is not passed in f irst argument
*/ */
public function selectAllExcept($table, array $excludedFields, $overwrite = false) public function selectAllExcept($table, array $excludedFields, $overwrite = false)
{ {
if ($table instanceof Association) { if ($table instanceof Association) {
$table = $table->getTarget(); $table = $table->getTarget();
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)