src/Utipd/MysqlModel/BaseMysqlDirectory.php
public function findByID($model_or_id, $options=null) {
        $id = $this->extractID($model_or_id);
        return $this->findOne(['id' => $id], null, $options);
    }
public function findByID($model_or_id, $options=null) {
        $id = $this->extractID($model_or_id);
        return $this->findOne(['id' => $id], null, $options);
    }
public function findByID ( $ model_or_id , $ options = null ) { $ id = $ this -> extractID ( $ model_or_id ) ; return $ this -> findOne ( [ 'id' => $ id ] , null , $ options ) ; }
finds a model by ID
@param  BaseMysqlModel|MongoID|string $model_or_id
@return BaseMysqlModel|null
finds a model by ID