Skip to content

Instantly share code, notes, and snippets.

@cesarockstar1985
Created March 13, 2023 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cesarockstar1985/d898aedc144f576e443fe53ef7ac41ab to your computer and use it in GitHub Desktop.
Save cesarockstar1985/d898aedc144f576e443fe53ef7ac41ab to your computer and use it in GitHub Desktop.
function index(){
$bondCategoryId = $this->request->getQuery('bond_category_id');
$bondTypesByCategoryId = $this->BondTypes->find()->where(['bond_category_id' => $bondCategoryId] );
return $bondTypesByCategoryId;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment