applications/vanilla/models/class.categorymodel.php
public function GetID($CategoryID, $DatasetType = DATASET_TYPE_OBJECT) {
      return $this->SQL->GetWhere('Category', array('CategoryID' => $CategoryID))->FirstRow($DatasetType);
   }
public function GetID($CategoryID, $DatasetType = DATASET_TYPE_OBJECT) {
      return $this->SQL->GetWhere('Category', array('CategoryID' => $CategoryID))->FirstRow($DatasetType);
   }
public function GetID ( $ CategoryID , $ DatasetType = DATASET_TYPE_OBJECT ) { return $ this -> SQL -> GetWhere ( 'Category' , array ( 'CategoryID' => $ CategoryID ) ) -> FirstRow ( $ DatasetType ) ; }
Get data for a single category selected by ID. Disregards permissions.

@since 2.0.0
@access public

@param int $CategoryID Unique ID of category we're getting data for.
@return object SQL results.
Get data for a single category selected by ID . Disregards permissions .