public $actsAs = array('Containable');
Ex:
<?php
App::uses('BuildingAppModel', 'Building.Model');
class CreditType extends BuildingAppModel {
public $actsAs = array('Containable');
}
?>
'BuildingFacility' => array(
'fields' => array(
'BuildingFacility.id',
),
'BuildingFacilityLanguage' => array(
'conditions' => array(
'BuildingFacilityLanguage.alias' => $this->lang18,
),
),
'BuildingPost' => array(
'fields' => array(
'BuildingPost.*',
),
'BuildingPostLanguage' => array(
'conditions' => array(
'BuildingPostLanguage.alias' => $this->lang18,
),
),
),
),