lib/Cake/Model/BehaviorCollection.php 1 location
|
@@ 225-228 (lines=4) @@
|
| 222 |
|
public function dispatchMethod($model, $method, $params = array(), $strict = false) { |
| 223 |
|
$method = $this->hasMethod($method, true); |
| 224 |
|
|
| 225 |
|
if ($strict && empty($method)) { |
| 226 |
|
trigger_error(__d('cake_dev', '%s - Method %s not found in any attached behavior', 'BehaviorCollection::dispatchMethod()', $method), E_USER_WARNING); |
| 227 |
|
return null; |
| 228 |
|
} |
| 229 |
|
if (empty($method)) { |
| 230 |
|
return array('unhandled'); |
| 231 |
|
} |
lib/Cake/Model/Datasource/Database/Sqlite.php 1 location
|
@@ 399-402 (lines=4) @@
|
| 396 |
|
$column = array_merge(array('null' => true), $column); |
| 397 |
|
extract($column); |
| 398 |
|
|
| 399 |
|
if (empty($name) || empty($type)) { |
| 400 |
|
trigger_error(__d('cake_dev', 'Column name or type not defined in schema'), E_USER_WARNING); |
| 401 |
|
return null; |
| 402 |
|
} |
| 403 |
|
|
| 404 |
|
if (!isset($this->columns[$type])) { |
| 405 |
|
trigger_error(__d('cake_dev', 'Column type %s does not exist', $type), E_USER_WARNING); |
lib/Cake/Model/Datasource/DboSource.php 1 location
|
@@ 3075-3078 (lines=4) @@
|
| 3072 |
|
$name = $type = null; |
| 3073 |
|
extract(array_merge(array('null' => true), $column)); |
| 3074 |
|
|
| 3075 |
|
if (empty($name) || empty($type)) { |
| 3076 |
|
trigger_error(__d('cake_dev', 'Column name or type not defined in schema'), E_USER_WARNING); |
| 3077 |
|
return null; |
| 3078 |
|
} |
| 3079 |
|
|
| 3080 |
|
if (!isset($this->columns[$type])) { |
| 3081 |
|
trigger_error(__d('cake_dev', 'Column type %s does not exist', $type), E_USER_WARNING); |
lib/Cake/View/Helper/MootoolsEngineHelper.php 1 location
|
@@ 309-314 (lines=6) @@
|
| 306 |
|
* @see JsBaseEngineHelper::drop() for options list. |
| 307 |
|
*/ |
| 308 |
|
public function drop($options = array()) { |
| 309 |
|
if (empty($options['drag'])) { |
| 310 |
|
trigger_error( |
| 311 |
|
__d('cake_dev', '%s requires a "drag" option to properly function'), 'MootoolsEngine::drop()', E_USER_WARNING |
| 312 |
|
); |
| 313 |
|
return false; |
| 314 |
|
} |
| 315 |
|
$options['droppables'] = $this->selection; |
| 316 |
|
|
| 317 |
|
$this->get($options['drag']); |