Binds files to model instances. Based on the attachment class.
Calculated from the primary key.
Array for attachment configuration. dir key is optional, calculated from model and relation names.
In this case, each item of the model have 2 attachments: avatar and cv.
<?php protected static $_attachment = array( 'avatar' => array(), 'cv' => array(), );