backend/controllers/TermRelationshipController.php
/**
     * Finds the Term model based on its primary key value.
     * If the model is not found, a 404 HTTP exception will be thrown.
     *
     * @param integer $id
     * @return Term|false the loaded model
     */
Finds the Term model based on its primary key value.
If the model is not found, a 404 HTTP exception will be thrown.

@param integer $id
@return Term|false the loaded model
Finds the Term model based on its primary key value . If the model is not found a 404 HTTP exception will be thrown . @param integer $id @return Term|false the loaded model
protected function findTerm($id)
    {
        if ($model = Term::findOne($id)) {
            return $model;
        }
        return false;
    }
protected function findTerm ( $ id ) { if ( $ model = Term :: findOne ( $ id ) ) { return $ model ; } return false ; }
Finds the Term model based on its primary key value.
Finds the Term model based on its primary key value .