Class CompactResultBehavior
Compact find result
in model var actAs = array("CompactResult" => array('model to esclude'));
- ModelBehavior
- CompactResultBehavior
Located at models/behaviors/compact_result.php
Methods summary
public
|
|
public
|
|
private
|
#
_removeFields( unknown_type & $model, unknown_type & $results )
Remove from result fields specified |
private
boolean
|
#
_isNumericArray( array $array )
Check if an array is numerically indexed in a standard manner. [0..(n-1)], with no other keys |
private
|
|
private
|
Properties summary
public
array
|
$config
|
#
array()
|
public
boolean
|
$bviorCompactResults
bviorCompactResults, default: true Set to false if you want data formatted in classic CakePHP way |
#
true
|
public
array
|
$bviorHideFields
Unset fields from data result recursively |
#
array()
|