Elgg\Mocks\Database\SubtypeTable::getSubtype PHP Method

getSubtype() public method

public getSubtype ( $subtype_id )
    public function getSubtype($subtype_id)
    {
        if (!isset($this->subtypes[$subtype_id])) {
            return false;
        }
        return $this->subtypes[$subtype_id]['subtype'];
    }