/** * Used for inserting relation into database * * @param int $fkey * @param int $skey * @return void */ public static function insert($fkey, $skey = null) { IndicatorSimpleModel::update($fkey, array('id_ba' => $skey)); }